MeVisLabToolboxReference
MeVisLab/Standard/Sources/ML/MLWEM/WEMBase/WEMAttributes.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //----------------------------------------------------------------------------------
00005 
00012 #ifndef __WEMAttributes_H
00013 #define __WEMAttributes_H
00014 
00015 
00016 #include "MLWEMIncludes.h"
00017 
00018 
00019 
00020 ML_START_NAMESPACE
00021 
00023 
00026 class MLWEM_EXPORT WEMAttributes
00027 {
00028 
00029 public:
00030 
00032   WEMAttributes();
00034   ~WEMAttributes();
00035 
00037   void reset();
00038 
00040   std::string label;   
00042   std::string description;
00043   
00045   void saveTo(std::ostream& outstream);
00046 
00049   unsigned int loadFrom(std::istream& instream, short version, bool swapBytes);
00050 
00053   unsigned int loadFrom(char* map, short version, bool swapBytes);
00054 
00055 };
00056 
00058 
00059 
00060 ML_END_NAMESPACE
00061 
00062 
00063 #endif // __WEMAttributes_H
00064 
00065