28 #ifndef SALOMEDS_AttributeParameter_i_HeaderFile
29 #define SALOMEDS_AttributeParameter_i_HeaderFile
32 #include <SALOMEconfig.h>
33 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
54 virtual void SetInt(
const char* theID, CORBA::Long theValue);
55 virtual CORBA::Long
GetInt(
const char* theID);
57 virtual void SetReal(
const char* theID, CORBA::Double theValue);
58 virtual CORBA::Double
GetReal(
const char* theID);
60 virtual void SetString(
const char* theID,
const char* theValue);
61 virtual char*
GetString(
const char* theID);
63 virtual void SetBool(
const char* theID, CORBA::Boolean theValue);
64 virtual CORBA::Boolean
GetBool(
const char* theID);
75 virtual CORBA::Boolean
IsSet(
const char* theID, CORBA::Long theType);
77 virtual CORBA::Boolean
RemoveID(
const char* theID, CORBA::Long theType);
79 virtual SALOMEDS::AttributeParameter_ptr
GetFather();
81 virtual CORBA::Boolean
IsRoot();
Class: SALOMEDSImpl_AttributeParameter Description : AttributeParameter is a universal container of b...
Definition: SALOMEDSImpl_AttributeParameter.hxx:48
Class: SALOMEDS_AttributeParameter Description : AttributeParameter is a universal container of basic...
Definition: SALOMEDS_AttributeParameter_i.hxx:45
virtual void SetReal(const char *theID, CORBA::Double theValue)
Function : SetReal Purpose : Associates a double value with the ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:67
virtual CORBA::Boolean HasFather()
Function : HasFather Purpose : Returns True if the attribute has a father attribute.
Definition: SALOMEDS_AttributeParameter_i.cxx:306
virtual void SetBool(const char *theID, CORBA::Boolean theValue)
Function : SetBool Purpose : Associates a bool value with the ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:122
virtual SALOMEDS::LongSeq * GetIntArray(const char *theID)
Function : GetIntArray Purpose : Returns an array of int values associated with the ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:206
virtual void Clear()
Function : IsRoot Purpose : Clears the content of the attribute.
Definition: SALOMEDS_AttributeParameter_i.cxx:330
virtual SALOMEDS::AttributeParameter_ptr GetFather()
Function : GetFather Purpose : Returns a father attribute for this attribute.
Definition: SALOMEDS_AttributeParameter_i.cxx:292
virtual void SetRealArray(const char *theID, const SALOMEDS::DoubleSeq &theArray)
Function : SetRealArray Purpose : Associates an array of double values with the given ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:148
virtual void SetIntArray(const char *theID, const SALOMEDS::LongSeq &theArray)
Function : SetIntArray Purpose : Associates an array of int values with the given ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:187
virtual SALOMEDS::DoubleSeq * GetRealArray(const char *theID)
Function : GetRealArray Purpose : Returns an array of double values associated with the ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:167
virtual CORBA::Boolean RemoveID(const char *theID, CORBA::Long theType)
Function : RemoveID Purpose : Removes a parameter with given ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:279
~SALOMEDS_AttributeParameter_i()
Definition: SALOMEDS_AttributeParameter_i.hxx:51
virtual CORBA::Boolean IsRoot()
Function : IsRoot Purpose : Returns True is the attribute is highest in an hierarchy.
Definition: SALOMEDS_AttributeParameter_i.cxx:318
SALOMEDS_AttributeParameter_i(SALOMEDSImpl_AttributeParameter *theAttr, CORBA::ORB_ptr orb)
Definition: SALOMEDS_AttributeParameter_i.hxx:48
virtual CORBA::Long GetInt(const char *theID)
Function : GetInt Purpose : Returns a int value associated with the given ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:54
virtual SALOMEDS::StringSeq * GetIDs(CORBA::Long theType)
Function : GetIDs Purpose : Returns an array of all ID's of the given type.
Definition: SALOMEDS_AttributeParameter_i.cxx:343
virtual void SetString(const char *theID, const char *theValue)
Function : SetString Purpose : Associates a string with the ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:93
virtual char * GetString(const char *theID)
Function : GetString Purpose : Returns a string associated with the given ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:107
virtual SALOMEDS::StringSeq * GetStrArray(const char *theID)
Function : GetStrArray Purpose : Returns an array of string values associated with the ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:245
virtual void SetStrArray(const char *theID, const SALOMEDS::StringSeq &theArray)
Function : SetStrArray Purpose : Associates an array of string values with the given ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:226
virtual CORBA::Double GetReal(const char *theID)
Function : GetReal Purpose : Returns a double value associated with the given ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:80
virtual CORBA::Boolean GetBool(const char *theID)
Function : GetBool Purpose : Returns a bool value associated with the ID.
Definition: SALOMEDS_AttributeParameter_i.cxx:135
virtual void SetInt(const char *theID, CORBA::Long theValue)
virtual CORBA::Boolean IsSet(const char *theID, CORBA::Long theType)
Function : IsSet Purpose : Returns true if for the ID of given type was assigned a value in the att...
Definition: SALOMEDS_AttributeParameter_i.cxx:267
Definition: SALOMEDS_GenericAttribute_i.hxx:41
sequence< double > DoubleSeq
Sequence of double values.
Definition: SALOMEDS_Attributes.idl:39
sequence< string > StringSeq
Sequence of string values.
Definition: SALOMEDS_Attributes.idl:43
sequence< long > LongSeq
Sequence of long values.
Definition: SALOMEDS_Attributes.idl:41
orb
Definition: salome.py:122