Back to index

salome-kernel  6.5.0
Functions
SALOMEDS_AttributeTreeNode.cxx File Reference
#include "SALOMEDS_AttributeTreeNode.hxx"
#include "SALOMEDS.hxx"
#include <string>
#include <stdexcept>
#include "SALOMEDSImpl_AttributeTreeNode.hxx"

Go to the source code of this file.

Functions

 _PTR (AttributeTreeNode) SALOMEDS_AttributeTreeNode

Function Documentation

_PTR ( AttributeTreeNode  )

Definition at line 80 of file SALOMEDS_AttributeTreeNode.cxx.

{
  SALOMEDSClient_AttributeTreeNode* aTN  = NULL;
  if (_isLocal) {
    SALOMEDS::Locker lock;
    SALOMEDSImpl_AttributeTreeNode* aNode = dynamic_cast<SALOMEDSImpl_AttributeTreeNode*>(_local_impl);
    aTN = new SALOMEDS_AttributeTreeNode(aNode->GetFather());
  }
  else {
    SALOMEDS::AttributeTreeNode_var aNode = SALOMEDS::AttributeTreeNode::_narrow(_corba_impl);
    aTN = new SALOMEDS_AttributeTreeNode(aNode->GetFather());
  }
  return _PTR(AttributeTreeNode)(aTN);
}

Here is the call graph for this function: