Back to index

salome-kernel  6.5.0
Functions
SALOMEDS_GenericAttribute.cxx File Reference
#include <string>
#include "SALOMEDS_GenericAttribute.hxx"
#include "SALOMEDSImpl_SObject.hxx"
#include "SALOMEDS_SObject.hxx"
#include "SALOMEDS_ClientAttributes.hxx"
#include "SALOMEDS.hxx"
#include "Basics_Utils.hxx"
#include <sys/types.h>
#include <unistd.h>

Go to the source code of this file.

Functions

 _PTR (SObject) SALOMEDS_GenericAttribute

Function Documentation

_PTR ( SObject  )

Definition at line 119 of file SALOMEDS_GenericAttribute.cxx.

{
  SALOMEDSClient_SObject* aSO = NULL;
  if (_isLocal) {
    SALOMEDS::Locker lock;
    aSO = new SALOMEDS_SObject(_local_impl->GetSObject());
  }
  else {
    aSO = new SALOMEDS_SObject((SALOMEDS::SObject_var)_corba_impl->GetSObject());
  }

  return _PTR(SObject)(aSO);
}

Here is the call graph for this function: