00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef __HOM_HDASection_h__
00017 #define __HOM_HDASection_h__
00018
00019 #include "HOM_API.h"
00020 #include "HOM_Defines.h"
00021 #include "HOM_Errors.h"
00022 #include "HOM_EnumValue.h"
00023 #include "HOM_Module.h"
00024 #include "HOM_IterableList.h"
00025 #include <string>
00026 class HOM_HDADefinition;
00027
00028 SWIGOUT(%rename(HDASection) HOM_HDASection;)
00029
00030 class HOM_API HOM_HDASection
00031 {
00032 public:
00033 HOM_HDASection()
00034 { HOM_CONSTRUCT_OBJECT(this) }
00035 HOM_HDASection(const HOM_HDASection &)
00036 { HOM_CONSTRUCT_OBJECT(this) }
00037 virtual ~HOM_HDASection()
00038 { HOM_DESTRUCT_OBJECT(this) }
00039
00040 virtual bool operator==(HOM_HDASection &hda_section)
00041 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00042 virtual bool operator!=(HOM_HDASection &hda_section)
00043 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00044
00045 virtual int __hash__() throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00046 virtual std::string __repr__() throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00047
00048 SWIGOUT(%newobject definition;)
00049 virtual HOM_HDADefinition *definition()
00050 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00051
00052 virtual std::string name()
00053 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00054 virtual std::string contents()
00055 throw(HOM_ObjectWasDeleted, HOM_PermissionError, HOM_Error) = 0;
00056 virtual void setContents(const std::string &contents)
00057 throw(HOM_ObjectWasDeleted, HOM_OperationFailed, HOM_PermissionError,
00058 HOM_Error) = 0;
00059 virtual int size()
00060 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00061 virtual int modificationTime()
00062 throw(HOM_ObjectWasDeleted, HOM_Error) = 0;
00063 virtual void destroy()
00064 throw(HOM_ObjectWasDeleted, HOM_OperationFailed, HOM_PermissionError,
00065 HOM_Error) = 0;
00066 };
00067
00068 #endif
00069