00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef __HOM_Shelf_h__
00017 #define __HOM_Shelf_h__
00018
00019 #include "HOM_API.h"
00020 #include "HOM_ShelfElement.h"
00021
00022 class HOM_Tool;
00023
00024 SWIGOUT(%rename(Shelf) HOM_Shelf;)
00025
00026 class HOM_API HOM_Shelf : virtual public HOM_ShelfElement
00027 {
00028 public:
00029 HOM_Shelf()
00030 { HOM_CONSTRUCT_OBJECT(this) }
00031 HOM_Shelf(const HOM_Shelf &shelfset)
00032 : HOM_ShelfElement(shelfset)
00033 { HOM_CONSTRUCT_OBJECT(this) }
00034 virtual ~HOM_Shelf()
00035 { HOM_DESTRUCT_OBJECT(this) }
00036
00037
00038
00039 SWIGOUT(virtual std::string __repr__()
00040 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;)
00041
00042 SWIGPYTHONOUT(%feature("autodoc",
00043 "tools(self) -> tuple of Tools") tools;)
00044 virtual std::vector<HOM_ElemPtr<HOM_Tool> > tools()
00045 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00046
00047
00048
00049 virtual void setTools(const std::vector<HOM_Tool *> &tools)
00050 throw(HOM_ObjectWasDeleted, HOM_PermissionError, HOM_Error) = 0;
00051
00052 virtual void destroy()
00053 throw(HOM_ObjectWasDeleted, HOM_PermissionError, HOM_Error) = 0;
00054 };
00055
00056 #endif
00057