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