FieldSets.cpp
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 
24 // -- END LICENSE BLOCK ------------------------------------------------
25 
26 //----------------------------------------------------------------------
33 //----------------------------------------------------------------------
34 
36 
37 namespace sick {
38 namespace datastructure {
39 
41 
42 std::string FieldSets::getVersionCVersion() const
43 {
44  return m_version_c_version;
45 }
46 
47 void FieldSets::setVersionCVersion(const std::string& version_c_version)
48 {
49  m_version_c_version = version_c_version;
50 }
51 
53 {
55 }
56 
57 void FieldSets::setVersionMajorVersionNumber(const uint8_t& version_major_version_number)
58 {
59  m_version_major_version_number = version_major_version_number;
60 }
61 
63 {
65 }
66 
67 void FieldSets::setVersionMinorVersionNumber(const uint8_t& version_minor_version_number)
68 {
69  m_version_minor_version_number = version_minor_version_number;
70 }
71 
73 {
75 }
76 
77 void FieldSets::setVersionReleaseNumber(const uint8_t& version_release_number)
78 {
79  m_version_release_number = version_release_number;
80 }
81 
82 std::vector<uint32_t> FieldSets::getNameLength() const
83 {
84  return m_name_length;
85 }
86 
87 void FieldSets::setNameLength(const std::vector<uint32_t>& name_length)
88 {
89  m_name_length = name_length;
90 }
91 
92 std::vector<std::string> FieldSets::getFieldName() const
93 {
94  return m_field_name;
95 }
96 
97 void FieldSets::setFieldName(const std::vector<std::string>& field_name)
98 {
99  m_field_name = field_name;
100 }
101 
102 std::vector<bool> FieldSets::getIsDefined() const
103 {
104  return m_is_defined;
105 }
106 
107 void FieldSets::setIsDefined(const std::vector<bool>& is_defined)
108 {
109  m_is_defined = is_defined;
110 }
111 
112 } // namespace datastructure
113 } // namespace sick
uint8_t getVersionReleaseNumber() const
Gets the version release number for the scanner.
Definition: FieldSets.cpp:72
void setFieldName(const std::vector< std::string > &field_name)
Sets the field name for the scanner.
Definition: FieldSets.cpp:97
uint8_t getVersionMinorVersionNumber() const
Gets the minor version number for the scanner.
Definition: FieldSets.cpp:62
void setVersionReleaseNumber(const uint8_t &version_release_number)
Sets the version release number for the scanner.
Definition: FieldSets.cpp:77
void setNameLength(const std::vector< uint32_t > &name_length)
Sets the length of the field name.
Definition: FieldSets.cpp:87
void setVersionCVersion(const std::string &version_c_version)
Sets the version indicator for the scanner.
Definition: FieldSets.cpp:47
std::vector< bool > getIsDefined() const
Gets if the fields are defined.
Definition: FieldSets.cpp:102
std::vector< bool > m_is_defined
Definition: FieldSets.h:151
void setVersionMinorVersionNumber(const uint8_t &version_minor_version_number)
Sets the minor version number for the scanner.
Definition: FieldSets.cpp:67
void setIsDefined(const std::vector< bool > &is_defined)
Sets if the fields are defined.
Definition: FieldSets.cpp:107
std::string getVersionCVersion() const
Gets the version indicator for the scanner.
Definition: FieldSets.cpp:42
FieldSets()
Constructor of the field name.
Definition: FieldSets.cpp:40
std::vector< uint32_t > m_name_length
Definition: FieldSets.h:149
std::vector< std::string > m_field_name
Definition: FieldSets.h:150
uint8_t getVersionMajorVersionNumber() const
Gets the major version number for the scanner.
Definition: FieldSets.cpp:52
std::vector< uint32_t > getNameLength() const
Gets the length of the field name.
Definition: FieldSets.cpp:82
void setVersionMajorVersionNumber(const uint8_t &version_major_version_number)
Sets the major version number for the scanner.
Definition: FieldSets.cpp:57
std::vector< std::string > getFieldName() const
Gets the field name for the scanner.
Definition: FieldSets.cpp:92


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:41