MeVisLab Toolbox Reference
ml::omDataType Class Referenceabstract

Base class for data. More...

#include <mlObjMgrDataType.h>

Inheritance diagram for ml::omDataType:
ml::omData_omMessage ml::omAttribute_omMessage

Public Member Functions

virtual ~omDataType ()
 Macro for declaring methods for the runtime system. More...
 
void setContainer (void *container)
 
virtual std::string getStringValue () const =0
 Get value of data type as string. More...
 
virtual void setStringValue (const std::string &value)=0
 Set data type value from string. More...
 

Protected Member Functions

 omDataType ()
 Hidden constructor. More...
 

Protected Attributes

void * _container
 

Detailed Description

Base class for data.

Definition at line 27 of file mlObjMgrDataType.h.

Constructor & Destructor Documentation

◆ ~omDataType()

virtual ml::omDataType::~omDataType ( )
inlinevirtual

Macro for declaring methods for the runtime system.

Destructor

Definition at line 35 of file mlObjMgrDataType.h.

◆ omDataType()

ml::omDataType::omDataType ( )
inlineprotected

Hidden constructor.

Definition at line 53 of file mlObjMgrDataType.h.

Member Function Documentation

◆ getStringValue()

virtual std::string ml::omDataType::getStringValue ( ) const
pure virtual

Get value of data type as string.

Implemented in ml::omData_omMessage.

Referenced by ml::omData::getStringValue(), and ml::omData::stringValueIsEqual().

◆ setContainer()

void ml::omDataType::setContainer ( void *  container)
inline

Definition at line 37 of file mlObjMgrDataType.h.

◆ setStringValue()

virtual void ml::omDataType::setStringValue ( const std::string &  value)
pure virtual

Set data type value from string.

The string is converted to the internal data type.

Implemented in ml::omData_omMessage.

Referenced by ml::omData::setStringValue().

Member Data Documentation

◆ _container

void* ml::omDataType::_container
protected

Definition at line 50 of file mlObjMgrDataType.h.


The documentation for this class was generated from the following file: