00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef __HOM_ButtonParmTemplate_h__
00017 #define __HOM_ButtonParmTemplate_h__
00018
00019 #include "HOM_API.h"
00020 #include "HOM_ParmTemplate.h"
00021
00022 SWIGOUT(%feature("notabstract") HOM_ButtonParmTemplate;)
00023 SWIGOUT(%rename(ButtonParmTemplate) HOM_ButtonParmTemplate;)
00024
00025 class HOM_API HOM_ButtonParmTemplate : virtual public HOM_ParmTemplate
00026 {
00027 public:
00028 #ifdef SWIG
00029 #ifdef SWIGPYTHON
00030 %feature("autodoc",
00031 "__init__(self, name, label, disable_when=None, is_hidden=False,"
00032 " join_with_next=False, help=None, tags={})")
00033 HOM_ButtonParmTemplate;
00034 #endif
00035 %extend {
00036 %kwargs HOM_ButtonParmTemplate;
00037 HOM_ButtonParmTemplate(
00038 const char *name,
00039 const char *label,
00040 const char *disable_when = NULL,
00041 bool is_hidden = false,
00042 bool join_with_next = false,
00043 const char *help = NULL,
00044 const std::map<std::string, std::string> &tags =
00045 HOM_StdMapStringString())
00046 throw(HOM_OperationFailed, HOM_TypeError, HOM_Error)
00047 {
00048 return HOM().newButtonParmTemplate(name, label, disable_when,
00049 is_hidden, join_with_next, help, tags);
00050 }
00051 };
00052 #else
00053 HOM_ButtonParmTemplate()
00054 { HOM_CONSTRUCT_OBJECT(this) }
00055
00056 HOM_ButtonParmTemplate(const HOM_ButtonParmTemplate &parm_template)
00057 : HOM_ParmTemplate(parm_template)
00058 { HOM_CONSTRUCT_OBJECT(this) }
00059 #endif
00060
00061 virtual ~HOM_ButtonParmTemplate()
00062 { HOM_DESTRUCT_OBJECT(this) }
00063
00064
00065
00066 SWIGOUT(virtual std::string __repr__() throw(HOM_Error);)
00067 };
00068
00069 #endif