FieldDescription.cpp
Go to the documentation of this file.
1 /*
2  * FieldDescription.cpp
3  *
4  * Created on: 30.08.2011
5  * Author: wahnfla
6  */
7 
8 #include "FieldDescription.hpp"
9 #include "../tools/errorhandler.hpp"
10 
11 namespace datatypes
12 {
13 
15  m_fieldType(Undefined)
16 {
18 }
19 
20 //
21 //
22 //
24 {
25  switch (type)
26  {
27  case Segmented:
28  return "Segmented";
29  case Rectangle:
30  return "Rectangle";
31  case Radial:
32  return "Radial";
33  case Dynamic:
34  return "Dynamic";
35  default:
36  return "undefined";
37  }
38 }
39 
40 
41 } // namespace datatypes
datatypes::FieldDescription::fieldTypeToString
static std::string fieldTypeToString(FieldType type)
Definition: FieldDescription.cpp:23
datatypes::FieldDescription::FieldType
FieldType
Definition: FieldDescription.hpp:24
datatypes::BasicData::m_datatype
UINT16 m_datatype
Definition: BasicDatatypes.hpp:107
datatypes::FieldDescription::Dynamic
@ Dynamic
Definition: FieldDescription.hpp:30
datatypes::FieldDescription::Radial
@ Radial
Definition: FieldDescription.hpp:29
FieldDescription.hpp
datatypes::FieldDescription::Rectangle
@ Rectangle
Definition: FieldDescription.hpp:28
Datatype_FieldDescription
@ Datatype_FieldDescription
Definition: BasicDatatypes.hpp:68
datatypes::FieldDescription::Segmented
@ Segmented
Definition: FieldDescription.hpp:27
datatypes::FieldDescription::FieldDescription
FieldDescription()
Definition: FieldDescription.cpp:14
datatypes
Definition: BasicDatatypes.hpp:91


libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Wed Oct 26 2022 02:11:57