FieldDescription.cpp
Go to the documentation of this file.
00001 /*
00002  * FieldDescription.cpp
00003  *
00004  *  Created on: 30.08.2011
00005  *      Author: wahnfla
00006  */
00007 
00008 #include "FieldDescription.hpp"
00009 #include "../tools/errorhandler.hpp"
00010 
00011 namespace datatypes
00012 {
00013 
00014 FieldDescription::FieldDescription() :
00015                 m_fieldType(Undefined)
00016 {
00017         m_datatype = Datatype_FieldDescription;
00018 }
00019 
00020 //
00021 //
00022 //
00023 std::string FieldDescription::fieldTypeToString(FieldType type)
00024 {
00025         switch (type)
00026         {
00027         case Segmented:
00028                 return "Segmented";
00029         case Rectangle:
00030                 return "Rectangle";
00031         case Radial:
00032                 return "Radial";
00033         case Dynamic:
00034                 return "Dynamic";
00035         default:
00036                 return "undefined";
00037         }
00038 }
00039 
00040         
00041 } // namespace datatypes


libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Wed Jun 14 2017 04:04:50