Main Page
Namespaces
Classes
Files
File List
File Members
src
datatypes
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
14
FieldDescription::FieldDescription
() :
15
m_fieldType(Undefined)
16
{
17
m_datatype
=
Datatype_FieldDescription
;
18
}
19
20
//
21
//
22
//
23
std::string
FieldDescription::fieldTypeToString
(
FieldType
type)
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
Definition:
BasicDatatypes.hpp:91
datatypes::FieldDescription::fieldTypeToString
static std::string fieldTypeToString(FieldType type)
Definition:
FieldDescription.cpp:23
datatypes::FieldDescription::Dynamic
Definition:
FieldDescription.hpp:30
datatypes::FieldDescription::FieldType
FieldType
Definition:
FieldDescription.hpp:24
datatypes::BasicData::m_datatype
UINT16 m_datatype
Definition:
BasicDatatypes.hpp:107
datatypes::FieldDescription::Radial
Definition:
FieldDescription.hpp:29
FieldDescription.hpp
datatypes::FieldDescription::Rectangle
Definition:
FieldDescription.hpp:28
Datatype_FieldDescription
Definition:
BasicDatatypes.hpp:68
datatypes::FieldDescription::FieldDescription
FieldDescription()
Definition:
FieldDescription.cpp:14
datatypes::FieldDescription::Segmented
Definition:
FieldDescription.hpp:27
libsick_ldmrs
Author(s): SICK AG
, Martin Günther
, Jochen Sprickerhof
autogenerated on Mon Oct 26 2020 03:27:30