Back to index

salome-kernel  6.5.0
Public Member Functions
SALOMEDS_AttributePersistentRef Class Reference

#include <SALOMEDS_AttributePersistentRef.hxx>

Inheritance diagram for SALOMEDS_AttributePersistentRef:
Inheritance graph
[legend]
Collaboration diagram for SALOMEDS_AttributePersistentRef:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SALOMEDS_AttributePersistentRef (SALOMEDSImpl_AttributePersistentRef *theAttr)
 SALOMEDS_AttributePersistentRef (SALOMEDS::AttributePersistentRef_ptr theAttr)
 ~SALOMEDS_AttributePersistentRef ()
virtual std::string Value ()
virtual void SetValue (const std::string &value)
virtual void CheckLocked ()=0
virtual std::string Type ()=0
virtual std::string GetClassType ()=0
virtual _PTR (SObject) GetSObject()=0

Detailed Description

Definition at line 39 of file SALOMEDS_AttributePersistentRef.hxx.


Constructor & Destructor Documentation

SALOMEDS_AttributePersistentRef::SALOMEDS_AttributePersistentRef ( SALOMEDSImpl_AttributePersistentRef *  theAttr)

Definition at line 32 of file SALOMEDS_AttributePersistentRef.cxx.

:SALOMEDS_GenericAttribute(theAttr)
{}
SALOMEDS_AttributePersistentRef::SALOMEDS_AttributePersistentRef ( SALOMEDS::AttributePersistentRef_ptr  theAttr)

Definition at line 36 of file SALOMEDS_AttributePersistentRef.cxx.

:SALOMEDS_GenericAttribute(theAttr)
{}

Definition at line 40 of file SALOMEDS_AttributePersistentRef.cxx.

{}

Member Function Documentation

virtual SALOMEDSClient_GenericAttribute::_PTR ( SObject  ) [pure virtual, inherited]

Implemented in Standard_EXPORT, and Standard_EXPORT.

Here is the caller graph for this function:

virtual void SALOMEDSClient_GenericAttribute::CheckLocked ( ) [pure virtual, inherited]

Implemented in Standard_EXPORT, and Standard_EXPORT.

virtual std::string SALOMEDSClient_GenericAttribute::GetClassType ( ) [pure virtual, inherited]

Implemented in Standard_EXPORT, and Standard_EXPORT.

void SALOMEDS_AttributePersistentRef::SetValue ( const std::string &  value) [virtual]

Implements SALOMEDSClient_AttributePersistentRef.

Definition at line 54 of file SALOMEDS_AttributePersistentRef.cxx.

{
  if (_isLocal) {
    CheckLocked();
    SALOMEDS::Locker lock;
    dynamic_cast<SALOMEDSImpl_AttributePersistentRef*>(_local_impl)->SetValue(value);
  }
  else SALOMEDS::AttributePersistentRef::_narrow(_corba_impl)->SetValue(value.c_str());
}

Here is the call graph for this function:

virtual std::string SALOMEDSClient_GenericAttribute::Type ( ) [pure virtual, inherited]

Implemented in Standard_EXPORT, and Standard_EXPORT.

std::string SALOMEDS_AttributePersistentRef::Value ( ) [virtual]

Implements SALOMEDSClient_AttributePersistentRef.

Definition at line 43 of file SALOMEDS_AttributePersistentRef.cxx.

{
  std::string aValue;
  if (_isLocal) {
    SALOMEDS::Locker lock;
    aValue = dynamic_cast<SALOMEDSImpl_AttributePersistentRef*>(_local_impl)->Value();
  }
  else aValue = SALOMEDS::AttributePersistentRef::_narrow(_corba_impl)->Value();
  return aValue;
}

Here is the call graph for this function:


The documentation for this class was generated from the following files: