Class: SALOMEDS_AttributeParameter Description : AttributeParameter is a universal container of basic types. More...
#include <SALOMEDS_AttributeParameter_i.hxx>
Public Member Functions | |
SALOMEDS_AttributeParameter_i (SALOMEDSImpl_AttributeParameter *theAttr, CORBA::ORB_ptr orb) | |
~SALOMEDS_AttributeParameter_i () | |
virtual void | SetInt (const char *theID, CORBA::Long theValue) |
Function : SetInt Purpose : Associates a integer value with the ID. More... | |
virtual CORBA::Long | GetInt (const char *theID) throw (SALOMEDS::AttributeParameter::InvalidIdentifier) |
Function : GetInt Purpose : Returns a int value associated with the given ID. More... | |
virtual void | SetReal (const char *theID, CORBA::Double theValue) |
Function : SetReal Purpose : Associates a double value with the ID. More... | |
virtual CORBA::Double | GetReal (const char *theID) throw (SALOMEDS::AttributeParameter::InvalidIdentifier) |
Function : GetReal Purpose : Returns a double value associated with the given ID. More... | |
virtual void | SetString (const char *theID, const char *theValue) |
Function : SetString Purpose : Associates a string with the ID. More... | |
virtual char * | GetString (const char *theID) throw (SALOMEDS::AttributeParameter::InvalidIdentifier) |
Function : GetString Purpose : Returns a string associated with the given ID. More... | |
virtual void | SetBool (const char *theID, CORBA::Boolean theValue) |
Function : SetBool Purpose : Associates a bool value with the ID. More... | |
virtual CORBA::Boolean | GetBool (const char *theID) throw (SALOMEDS::AttributeParameter::InvalidIdentifier) |
Function : GetBool Purpose : Returns a bool value associated with the ID. More... | |
virtual void | SetRealArray (const char *theID, const SALOMEDS::DoubleSeq &theArray) |
Function : SetRealArray Purpose : Associates an array of double values with the given ID. More... | |
virtual SALOMEDS::DoubleSeq * | GetRealArray (const char *theID) throw (SALOMEDS::AttributeParameter::InvalidIdentifier) |
Function : GetRealArray Purpose : Returns an array of double values associated with the ID. More... | |
virtual void | SetIntArray (const char *theID, const SALOMEDS::LongSeq &theArray) |
Function : SetIntArray Purpose : Associates an array of int values with the given ID. More... | |
virtual SALOMEDS::LongSeq * | GetIntArray (const char *theID) throw (SALOMEDS::AttributeParameter::InvalidIdentifier) |
Function : GetIntArray Purpose : Returns an array of int values associated with the ID. More... | |
virtual void | SetStrArray (const char *theID, const SALOMEDS::StringSeq &theArray) |
Function : SetStrArray Purpose : Associates an array of string values with the given ID. More... | |
virtual SALOMEDS::StringSeq * | GetStrArray (const char *theID) throw (SALOMEDS::AttributeParameter::InvalidIdentifier) |
Function : GetStrArray Purpose : Returns an array of string values associated with the ID. More... | |
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 attribute. More... | |
virtual CORBA::Boolean | RemoveID (const char *theID, CORBA::Long theType) |
Function : RemoveID Purpose : Removes a parameter with given ID. More... | |
virtual SALOMEDS::AttributeParameter_ptr | GetFather () |
Function : GetFather Purpose : Returns a father attribute for this attribute. More... | |
virtual CORBA::Boolean | HasFather () |
Function : HasFather Purpose : Returns True if the attribute has a father attribute. More... | |
virtual CORBA::Boolean | IsRoot () |
Function : IsRoot Purpose : Returns True is the attribute is highest in an hierachy. More... | |
virtual void | Clear () |
Function : IsRoot Purpose : Clears the content of the attribute. More... | |
virtual SALOMEDS::StringSeq * | GetIDs (CORBA::Long theType) |
Function : GetIDs Purpose : Returns an array of all ID's of the given type. More... | |
void | CheckLocked () throw (SALOMEDS::GenericAttribute::LockProtection) |
virtual char * | Type () |
char * | GetClassType () |
SALOMEDS::SObject_ptr | GetSObject () |
virtual DF_Attribute * | GetImpl () |
virtual CORBA::LongLong | GetLocalImpl (const char *theHostname, CORBA::Long thePID, CORBA::Boolean &isLocal) |
virtual PortableServer::POA_ptr | _default_POA () |
Get default POA for the servant object. More... | |
virtual void | Register () |
Increment reference counter. More... | |
virtual void | UnRegister () |
Decrement reference counter. More... | |
virtual void | Destroy () |
Decrement reference counter. More... | |
Static Public Member Functions | |
static SALOMEDS::GenericAttribute_ptr | CreateAttribute (DF_Attribute *theAttr, CORBA::ORB_ptr theOrb) |
Protected Attributes | |
DF_Attribute * | _impl |
CORBA::ORB_var | _orb |
PortableServer::POA_var | myPOA |
int | myRefCounter |
Class: SALOMEDS_AttributeParameter Description : AttributeParameter is a universal container of basic types.
SALOMEDS_AttributeParameter_i::SALOMEDS_AttributeParameter_i | ( | SALOMEDSImpl_AttributeParameter * | theAttr, |
CORBA::ORB_ptr | orb | ||
) |
Referenced by GetFather().
SALOMEDS_AttributeParameter_i::~SALOMEDS_AttributeParameter_i | ( | ) |
|
virtualinherited |
Get default POA for the servant object.
This function is implicitly called from "_this()" function. Default POA can be set via the constructor.
References SALOME::GenericObj_i::myPOA.
|
inherited |
References SALOMEDS_GenericAttribute_i::_impl, SALOMEDS_GenericAttribute_i::_orb, SALOMEDSImpl_GenericAttribute::Impl_CheckLocked(), and SALOMEDS::lock().
Referenced by SALOMEDS_AttributeSequenceOfReal_i::Add(), SALOMEDS_AttributeSequenceOfInteger_i::Add(), SALOMEDS_AttributeTreeNode_i::Append(), SALOMEDS_AttributeSequenceOfReal_i::Assign(), SALOMEDS_AttributeSequenceOfInteger_i::Assign(), SALOMEDS_AttributeSequenceOfReal_i::ChangeValue(), SALOMEDS_AttributeSequenceOfInteger_i::ChangeValue(), SALOMEDS_AttributeTreeNode_i::InsertAfter(), SALOMEDS_AttributeTreeNode_i::InsertBefore(), SALOMEDS_AttributeTreeNode_i::Prepend(), SALOMEDS_AttributeSequenceOfReal_i::Remove(), SALOMEDS_AttributeSequenceOfInteger_i::Remove(), SALOMEDS_AttributeTreeNode_i::Remove(), RemoveID(), SetBool(), SALOMEDS_AttributeStudyProperties_i::SetComment(), SALOMEDS_AttributeStudyProperties_i::SetCreationDate(), SALOMEDS_AttributeStudyProperties_i::SetCreationMode(), SALOMEDS_AttributeDrawable_i::SetDrawable(), SALOMEDS_AttributeExpandable_i::SetExpandable(), SALOMEDS_AttributeTreeNode_i::SetFather(), SALOMEDS_AttributeTreeNode_i::SetFirst(), SetInt(), SetIntArray(), SALOMEDS_AttributeStudyProperties_i::SetModification(), SALOMEDS_AttributeTreeNode_i::SetNext(), SALOMEDS_AttributePythonObject_i::SetObject(), SALOMEDS_AttributePixMap_i::SetPixMap(), SALOMEDS_AttributeTreeNode_i::SetPrevious(), SetReal(), SetRealArray(), SetStrArray(), SetString(), SALOMEDS_AttributeTextColor_i::SetTextColor(), SALOMEDS_AttributeTextHighlightColor_i::SetTextHighlightColor(), SALOMEDS_AttributeTableOfInteger_i::SetTitle(), SALOMEDS_AttributeTableOfReal_i::SetTitle(), SALOMEDS_AttributeTableOfString_i::SetTitle(), SALOMEDS_AttributeTreeNode_i::SetTreeID(), SALOMEDS_AttributeStudyProperties_i::SetUnits(), SALOMEDS_AttributeStudyProperties_i::SetUserName(), SALOMEDS_AttributeFileType_i::SetValue(), SALOMEDS_AttributePersistentRef_i::SetValue(), SALOMEDS_AttributeIOR_i::SetValue(), SALOMEDS_AttributeComment_i::SetValue(), SALOMEDS_AttributeExternalFileDef_i::SetValue(), SALOMEDS_AttributeUserID_i::SetValue(), SALOMEDS_AttributeReal_i::SetValue(), SALOMEDS_AttributeString_i::SetValue(), SALOMEDS_AttributeLocalID_i::SetValue(), SALOMEDS_AttributeInteger_i::SetValue(), and SALOMEDS_AttributeName_i::SetValue().
|
virtual |
Function : IsRoot Purpose : Clears the content of the attribute.
References SALOMEDS_GenericAttribute_i::_impl, and SALOMEDS::lock().
|
staticinherited |
|
virtualinherited |
Decrement reference counter.
References MESSAGE, and SALOME::GenericObj_i::UnRegister().
|
virtual |
Function : GetBool Purpose : Returns a bool value associated with the ID.
References SALOMEDS::lock().
|
inherited |
|
virtual |
Function : GetFather Purpose : Returns a father attribute for this attribute.
References SALOMEDS_GenericAttribute_i::_impl, SALOMEDS_GenericAttribute_i::_orb, SALOMEDS::lock(), and SALOMEDS_AttributeParameter_i().
|
virtual |
Function : GetIDs Purpose : Returns an array of all ID's of the given type.
References SALOMEDS_GenericAttribute_i::_impl, and SALOMEDS::lock().
|
virtualinherited |
|
virtual |
Function : GetInt Purpose : Returns a int value associated with the given ID.
References SALOMEDS::lock().
|
virtual |
Function : GetIntArray Purpose : Returns an array of int values associated with the ID.
References SALOMEDS::lock().
|
virtualinherited |
References SALOMEDS_GenericAttribute_i::_impl, and Kernel_Utils::GetHostname().
|
virtual |
Function : GetReal Purpose : Returns a double value associated with the given ID.
References SALOMEDS::lock().
|
virtual |
Function : GetRealArray Purpose : Returns an array of double values associated with the ID.
References SALOMEDS::lock().
|
inherited |
|
virtual |
Function : GetStrArray Purpose : Returns an array of string values associated with the ID.
References SALOMEDS::lock().
|
virtual |
Function : GetString Purpose : Returns a string associated with the given ID.
References SALOMEDSImpl_AttributeParameter::GetString(), and SALOMEDS::lock().
|
virtual |
Function : HasFather Purpose : Returns True if the attribute has a father attribute.
References SALOMEDS_GenericAttribute_i::_impl, and SALOMEDS::lock().
|
virtual |
Function : IsRoot Purpose : Returns True is the attribute is highest in an hierachy.
References SALOMEDS_GenericAttribute_i::_impl, and SALOMEDS::lock().
|
virtual |
Function : IsSet Purpose : Returns true if for the ID of given type was assigned
a value in the attribute.
References SALOMEDS_GenericAttribute_i::_impl, and SALOMEDS::lock().
|
virtualinherited |
Increment reference counter.
References IS_OBJ_IN_QUESTION, MESSAGE, MYDEBUG, and SALOME::GenericObj_i::myRefCounter.
|
virtual |
Function : RemoveID Purpose : Removes a parameter with given ID.
References SALOMEDS_GenericAttribute_i::_impl, SALOMEDS_GenericAttribute_i::CheckLocked(), and SALOMEDS::lock().
|
virtual |
Function : SetBool Purpose : Associates a bool value with the ID.
References SALOMEDS_GenericAttribute_i::_impl, SALOMEDS_GenericAttribute_i::CheckLocked(), and SALOMEDS::lock().
|
virtual |
Function : SetInt Purpose : Associates a integer value with the ID.
References SALOMEDS_GenericAttribute_i::_impl, SALOMEDS_GenericAttribute_i::CheckLocked(), and SALOMEDS::lock().
|
virtual |
Function : SetIntArray Purpose : Associates an array of int values with the given ID.
References SALOMEDS_GenericAttribute_i::_impl, SALOMEDS_GenericAttribute_i::CheckLocked(), and SALOMEDS::lock().
|
virtual |
Function : SetReal Purpose : Associates a double value with the ID.
References SALOMEDS_GenericAttribute_i::_impl, SALOMEDS_GenericAttribute_i::CheckLocked(), and SALOMEDS::lock().
|
virtual |
Function : SetRealArray Purpose : Associates an array of double values with the given ID.
References SALOMEDS_GenericAttribute_i::_impl, SALOMEDS_GenericAttribute_i::CheckLocked(), and SALOMEDS::lock().
|
virtual |
Function : SetStrArray Purpose : Associates an array of string values with the given ID.
References SALOMEDS_GenericAttribute_i::_impl, SALOMEDS_GenericAttribute_i::CheckLocked(), and SALOMEDS::lock().
Function : SetString Purpose : Associates a string with the ID.
References SALOMEDS_GenericAttribute_i::_impl, SALOMEDS_GenericAttribute_i::CheckLocked(), SALOMEDS::lock(), and SALOMEDSImpl_AttributeParameter::SetString().
|
virtualinherited |
|
virtualinherited |
Decrement reference counter.
As soon as reference counter goes to zero, the object is automatically deactivated.
References IS_OBJ_IN_QUESTION, MESSAGE, MYDEBUG, SALOME::GenericObj_i::myPOA, and SALOME::GenericObj_i::myRefCounter.
Referenced by SALOME::GenericObj_i::Destroy().
|
protectedinherited |
Referenced by SALOMEDS_AttributeTarget_i::Add(), SALOMEDS_AttributeSequenceOfReal_i::Add(), SALOMEDS_AttributeSequenceOfInteger_i::Add(), SALOMEDS_AttributeTreeNode_i::Append(), SALOMEDS_AttributeSequenceOfReal_i::Assign(), SALOMEDS_AttributeSequenceOfInteger_i::Assign(), SALOMEDS_AttributeSequenceOfReal_i::ChangeValue(), SALOMEDS_AttributeSequenceOfInteger_i::ChangeValue(), SALOMEDS_GenericAttribute_i::CheckLocked(), Clear(), SALOMEDS_AttributeSequenceOfReal_i::CorbaSequence(), SALOMEDS_AttributeSequenceOfInteger_i::CorbaSequence(), SALOMEDS_AttributeTreeNode_i::Depth(), SALOMEDS_AttributeTarget_i::Get(), SALOMEDS_AttributeFlags_i::Get(), SALOMEDS_GenericAttribute_i::GetClassType(), SALOMEDS_AttributeTableOfInteger_i::GetColumnTitles(), SALOMEDS_AttributeTableOfReal_i::GetColumnTitles(), SALOMEDS_AttributeTableOfString_i::GetColumnTitles(), SALOMEDS_AttributeStudyProperties_i::GetComment(), SALOMEDS_AttributeStudyProperties_i::GetComponentVersion(), SALOMEDS_AttributeStudyProperties_i::GetComponentVersions(), SALOMEDS_AttributeStudyProperties_i::GetCreationDate(), SALOMEDS_AttributeStudyProperties_i::GetCreationMode(), SALOMEDS_AttributeTreeNode_i::GetFather(), GetFather(), SALOMEDS_AttributeTreeNode_i::GetFirst(), SALOMEDS_AttributeFlags_i::GetFlags(), GetIDs(), SALOMEDS_GenericAttribute_i::GetLocalImpl(), SALOMEDS_AttributeStudyProperties_i::GetModificationsList(), SALOMEDS_AttributeStudyProperties_i::GetModified(), SALOMEDS_AttributeTableOfInteger_i::GetNbColumns(), SALOMEDS_AttributeTableOfReal_i::GetNbColumns(), SALOMEDS_AttributeTableOfString_i::GetNbColumns(), SALOMEDS_AttributeTableOfInteger_i::GetNbRows(), SALOMEDS_AttributeTableOfReal_i::GetNbRows(), SALOMEDS_AttributeTableOfString_i::GetNbRows(), SALOMEDS_AttributeTreeNode_i::GetNext(), SALOMEDS_AttributePythonObject_i::GetObject(), SALOMEDS_AttributePixMap_i::GetPixMap(), SALOMEDS_AttributeTreeNode_i::GetPrevious(), SALOMEDS_AttributeTableOfInteger_i::GetRowSetIndices(), SALOMEDS_AttributeTableOfReal_i::GetRowSetIndices(), SALOMEDS_AttributeTableOfString_i::GetRowSetIndices(), SALOMEDS_AttributeTableOfInteger_i::GetRowTitles(), SALOMEDS_AttributeTableOfReal_i::GetRowTitles(), SALOMEDS_AttributeTableOfString_i::GetRowTitles(), SALOMEDS_AttributeTableOfInteger_i::GetRowUnits(), SALOMEDS_AttributeTableOfReal_i::GetRowUnits(), SALOMEDS_AttributeTableOfString_i::GetRowUnits(), SALOMEDS_GenericAttribute_i::GetSObject(), SALOMEDS_AttributeStudyProperties_i::GetStoredComponents(), SALOMEDS_AttributeTableOfInteger_i::GetTitle(), SALOMEDS_AttributeTableOfReal_i::GetTitle(), SALOMEDS_AttributeTableOfString_i::GetTitle(), SALOMEDS_AttributeTreeNode_i::GetTreeID(), SALOMEDS_AttributeStudyProperties_i::GetUnits(), SALOMEDS_AttributeStudyProperties_i::GetUserName(), SALOMEDS_AttributeGraphic_i::GetVisibility(), SALOMEDS_AttributeTreeNode_i::HasFather(), HasFather(), SALOMEDS_AttributeTreeNode_i::HasFirst(), SALOMEDS_AttributeTreeNode_i::HasNext(), SALOMEDS_AttributePixMap_i::HasPixMap(), SALOMEDS_AttributeTreeNode_i::HasPrevious(), SALOMEDS_AttributeTableOfInteger_i::HasValue(), SALOMEDS_AttributeTableOfReal_i::HasValue(), SALOMEDS_AttributeTableOfString_i::HasValue(), SALOMEDS_AttributeTreeNode_i::InsertAfter(), SALOMEDS_AttributeTreeNode_i::InsertBefore(), SALOMEDS_AttributeTreeNode_i::IsChild(), SALOMEDS_AttributeTreeNode_i::IsDescendant(), SALOMEDS_AttributeDrawable_i::IsDrawable(), SALOMEDS_AttributeExpandable_i::IsExpandable(), SALOMEDS_AttributeTreeNode_i::IsFather(), SALOMEDS_AttributeStudyProperties_i::IsLocked(), SALOMEDS_AttributeStudyProperties_i::IsModified(), SALOMEDS_AttributeOpened_i::IsOpened(), SALOMEDS_AttributeTreeNode_i::IsRoot(), IsRoot(), SALOMEDS_AttributePythonObject_i::IsScript(), SALOMEDS_AttributeSelectable_i::IsSelectable(), IsSet(), SALOMEDS_AttributeTreeNode_i::Label(), SALOMEDS_AttributeSequenceOfReal_i::Length(), SALOMEDS_AttributeSequenceOfInteger_i::Length(), SALOMEDS_AttributeTreeNode_i::Prepend(), SALOMEDS_AttributeTableOfInteger_i::ReadFromFile(), SALOMEDS_AttributeTableOfReal_i::ReadFromFile(), SALOMEDS_AttributeTableOfString_i::ReadFromFile(), SALOMEDS_AttributeTarget_i::Remove(), SALOMEDS_AttributeSequenceOfReal_i::Remove(), SALOMEDS_AttributeSequenceOfInteger_i::Remove(), SALOMEDS_AttributeTreeNode_i::Remove(), RemoveID(), SALOMEDS_GenericAttribute_i::SALOMEDS_GenericAttribute_i(), SALOMEDS_AttributeTableOfInteger_i::SaveToFile(), SALOMEDS_AttributeTableOfReal_i::SaveToFile(), SALOMEDS_AttributeTableOfString_i::SaveToFile(), SALOMEDS_AttributeFlags_i::Set(), SetBool(), SALOMEDS_AttributeStudyProperties_i::SetComment(), SALOMEDS_AttributeStudyProperties_i::SetCreationDate(), SALOMEDS_AttributeStudyProperties_i::SetCreationMode(), SALOMEDS_AttributeDrawable_i::SetDrawable(), SALOMEDS_AttributeExpandable_i::SetExpandable(), SALOMEDS_AttributeTreeNode_i::SetFather(), SALOMEDS_AttributeTreeNode_i::SetFirst(), SALOMEDS_AttributeFlags_i::SetFlags(), SetInt(), SetIntArray(), SALOMEDS_AttributeStudyProperties_i::SetLocked(), SALOMEDS_AttributeStudyProperties_i::SetModification(), SALOMEDS_AttributeStudyProperties_i::SetModified(), SALOMEDS_AttributeTableOfInteger_i::SetNbColumns(), SALOMEDS_AttributeTableOfReal_i::SetNbColumns(), SALOMEDS_AttributeTableOfString_i::SetNbColumns(), SALOMEDS_AttributeTreeNode_i::SetNext(), SALOMEDS_AttributePythonObject_i::SetObject(), SALOMEDS_AttributeOpened_i::SetOpened(), SALOMEDS_AttributePixMap_i::SetPixMap(), SALOMEDS_AttributeTreeNode_i::SetPrevious(), SetReal(), SetRealArray(), SALOMEDS_AttributeSelectable_i::SetSelectable(), SetStrArray(), SetString(), SALOMEDS_AttributeTextColor_i::SetTextColor(), SALOMEDS_AttributeTextHighlightColor_i::SetTextHighlightColor(), SALOMEDS_AttributeTableOfInteger_i::SetTitle(), SALOMEDS_AttributeTableOfReal_i::SetTitle(), SALOMEDS_AttributeTableOfString_i::SetTitle(), SALOMEDS_AttributeTreeNode_i::SetTreeID(), SALOMEDS_AttributeStudyProperties_i::SetUnits(), SALOMEDS_AttributeStudyProperties_i::SetUserName(), SALOMEDS_AttributeIOR_i::SetValue(), SALOMEDS_AttributePersistentRef_i::SetValue(), SALOMEDS_AttributeFileType_i::SetValue(), SALOMEDS_AttributeString_i::SetValue(), SALOMEDS_AttributeUserID_i::SetValue(), SALOMEDS_AttributeReal_i::SetValue(), SALOMEDS_AttributeComment_i::SetValue(), SALOMEDS_AttributeExternalFileDef_i::SetValue(), SALOMEDS_AttributeLocalID_i::SetValue(), SALOMEDS_AttributeInteger_i::SetValue(), SALOMEDS_AttributeName_i::SetValue(), SALOMEDS_AttributeGraphic_i::SetVisibility(), SALOMEDS_AttributeTextColor_i::TextColor(), SALOMEDS_AttributeTextHighlightColor_i::TextHighlightColor(), SALOMEDS_GenericAttribute_i::Type(), SALOMEDS_AttributeFileType_i::Value(), SALOMEDS_AttributePersistentRef_i::Value(), SALOMEDS_AttributeIOR_i::Value(), SALOMEDS_AttributeComment_i::Value(), SALOMEDS_AttributeUserID_i::Value(), SALOMEDS_AttributeString_i::Value(), SALOMEDS_AttributeReal_i::Value(), SALOMEDS_AttributeExternalFileDef_i::Value(), SALOMEDS_AttributeLocalID_i::Value(), SALOMEDS_AttributeInteger_i::Value(), SALOMEDS_AttributeName_i::Value(), SALOMEDS_AttributeSequenceOfReal_i::Value(), and SALOMEDS_AttributeSequenceOfInteger_i::Value().
|
protectedinherited |
Referenced by SALOMEDS_GenericAttribute_i::CheckLocked(), SALOMEDS_AttributeTarget_i::Get(), SALOMEDS_AttributeTreeNode_i::GetFather(), GetFather(), SALOMEDS_AttributeTreeNode_i::GetFirst(), SALOMEDS_AttributeTreeNode_i::GetNext(), SALOMEDS_AttributeTreeNode_i::GetPrevious(), SALOMEDS_GenericAttribute_i::GetSObject(), and SALOMEDS_GenericAttribute_i::SALOMEDS_GenericAttribute_i().
|
protectedinherited |
|
protectedinherited |
Referenced by SALOME::GenericObj_i::Register(), and SALOME::GenericObj_i::UnRegister().