MeVisLabToolboxReference
MeVisLab/Standard/Sources/ML/MLObjMgr/ObjMgr/mlObjMgrDataType.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //-------------------------------------------------------------------------
00005 
00010 //-------------------------------------------------------------------------
00011 
00012 #ifndef __mlObjMgrDataType_H
00013 #define __mlObjMgrDataType_H
00014 
00015 #ifndef __MLObjMgrSystem_H
00016 #include "MLObjMgrSystem.h"
00017 #endif
00018 
00019 #ifndef __mlRuntimeSubClass_H
00020 #include <mlRuntimeSubClass.h>
00021 #endif
00022 
00023 ML_START_NAMESPACE
00024 
00027    class MLOBJMGR_EXPORT omDataType
00028    {
00030       ML_ABSTRACT_CLASS_HEADER(omDataType)
00031 
00032       public:
00033 
00035          virtual ~omDataType() {}
00036 
00037          void                setContainer(void *container) {
00038             _container = container;
00039          }
00040 
00042          virtual std::string getStringValue() const = 0;
00043 
00046          virtual void        setStringValue(const std::string &value) = 0;
00047 
00048       protected:
00049 
00050          void    *_container;
00051 
00053          omDataType() : _container(NULL) {}
00054    };
00055 
00056 ML_END_NAMESPACE
00057 
00058 #endif // __mlObjMgrDataType_H