00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef __HOM_ShelfElement_h__
00017 #define __HOM_ShelfElement_h__
00018
00019 #include "HOM_API.h"
00020 #include "HOM_Defines.h"
00021 #include "HOM_Module.h"
00022 #include "HOM_Errors.h"
00023 #include <string>
00024
00025 SWIGOUT(%rename(ShelfElement) HOM_ShelfElement;)
00026
00027 class HOM_API HOM_ShelfElement
00028 {
00029 public:
00030 HOM_ShelfElement()
00031 { HOM_CONSTRUCT_OBJECT(this) }
00032 HOM_ShelfElement(const HOM_ShelfElement &element)
00033 { HOM_CONSTRUCT_OBJECT(this) }
00034 virtual ~HOM_ShelfElement()
00035 { HOM_DESTRUCT_OBJECT(this) }
00036
00037 virtual std::string __repr__() throw(HOM_Error) = 0;
00038
00039 virtual bool operator==(HOM_ShelfElement *element)
00040 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00041 virtual bool operator!=(HOM_ShelfElement *element)
00042 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00043
00044 virtual std::string filePath()
00045 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00046 virtual void setFilePath(const char *file_path)
00047 throw(HOM_ObjectWasDeleted, HOM_PermissionError, HOM_Error) = 0;
00048 virtual std::string name()
00049 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00050 virtual void setName(const char *name)
00051 throw(HOM_ObjectWasDeleted, HOM_PermissionError, HOM_Error) = 0;
00052 virtual std::string label()
00053 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00054 virtual void setLabel(const char *label)
00055 throw(HOM_ObjectWasDeleted, HOM_PermissionError, HOM_Error) = 0;
00056 };
00057
00058 #endif
00059