Back to index

salome-kernel  6.5.0
Public Member Functions
SALOMEDS_AttributePythonObject Class Reference

#include <SALOMEDS_AttributePythonObject.hxx>

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

List of all members.

Public Member Functions

 SALOMEDS_AttributePythonObject (SALOMEDSImpl_AttributePythonObject *theAttr)
 SALOMEDS_AttributePythonObject (SALOMEDS::AttributePythonObject_ptr theAttr)
 ~SALOMEDS_AttributePythonObject ()
virtual void SetObject (const std::string &theSequence, bool IsScript)
virtual std::string GetObject ()
virtual bool IsScript ()
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_AttributePythonObject.hxx.


Constructor & Destructor Documentation

SALOMEDS_AttributePythonObject::SALOMEDS_AttributePythonObject ( SALOMEDSImpl_AttributePythonObject *  theAttr)

Definition at line 32 of file SALOMEDS_AttributePythonObject.cxx.

:SALOMEDS_GenericAttribute(theAttr)
{}
SALOMEDS_AttributePythonObject::SALOMEDS_AttributePythonObject ( SALOMEDS::AttributePythonObject_ptr  theAttr)

Definition at line 36 of file SALOMEDS_AttributePythonObject.cxx.

:SALOMEDS_GenericAttribute(theAttr)
{}

Definition at line 40 of file SALOMEDS_AttributePythonObject.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.

std::string SALOMEDS_AttributePythonObject::GetObject ( ) [virtual]

Implements SALOMEDSClient_AttributePythonObject.

Definition at line 54 of file SALOMEDS_AttributePythonObject.cxx.

{
  std::string aValue;
  if (_isLocal) {
    SALOMEDS::Locker lock;
    aValue = dynamic_cast<SALOMEDSImpl_AttributePythonObject*>(_local_impl)->GetObject().c_str();
  }
  else aValue = SALOMEDS::AttributePythonObject::_narrow(_corba_impl)->GetObject();
  return aValue;
}

Here is the call graph for this function:

Implements SALOMEDSClient_AttributePythonObject.

Definition at line 43 of file SALOMEDS_AttributePythonObject.cxx.

{
  bool ret;
  if (_isLocal) {
    SALOMEDS::Locker lock;
    ret = dynamic_cast<SALOMEDSImpl_AttributePythonObject*>(_local_impl)->IsScript();
  }
  else ret = SALOMEDS::AttributePythonObject::_narrow(_corba_impl)->IsScript();
  return ret;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void SALOMEDS_AttributePythonObject::SetObject ( const std::string &  theSequence,
bool  IsScript 
) [virtual]

Implements SALOMEDSClient_AttributePythonObject.

Definition at line 65 of file SALOMEDS_AttributePythonObject.cxx.

{
  if (_isLocal) {
    CheckLocked();
    SALOMEDS::Locker lock;
    dynamic_cast<SALOMEDSImpl_AttributePythonObject*>(_local_impl)->SetObject(theSequence, IsScript);
  }
  else SALOMEDS::AttributePythonObject::_narrow(_corba_impl)->SetObject(theSequence.c_str(), IsScript);
}

Here is the call graph for this function:

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

Implemented in Standard_EXPORT, and Standard_EXPORT.


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