Back to index

salome-kernel  6.5.0
Functions
SALOMEDS_AttributeTreeNode_i.cxx File Reference
#include "SALOMEDS_AttributeTreeNode_i.hxx"
#include "utilities.h"
#include "SALOMEDS.hxx"

Go to the source code of this file.

Functions

static
SALOMEDSImpl_AttributeTreeNode * 
GetNode (SALOMEDS::AttributeTreeNode_ptr value, SALOMEDSImpl_AttributeTreeNode *aNode)

Function Documentation

static SALOMEDSImpl_AttributeTreeNode* GetNode ( SALOMEDS::AttributeTreeNode_ptr  value,
SALOMEDSImpl_AttributeTreeNode *  aNode 
) [static]

Definition at line 31 of file SALOMEDS_AttributeTreeNode_i.cxx.

{
  SALOMEDSImpl_AttributeTreeNode* aResult = NULL;
  DF_Label aLabel = DF_Label::Label(aNode->Label(), value->Label());
  if (aLabel.IsNull()) {
    MESSAGE("SALOMEDS_AttributeTreeNode_i class: no such label")
    MESSAGE("SALOMEDS_AttributeTreeNode_i class: no such label")
    return aResult;
  }
  if (!(aResult=(SALOMEDSImpl_AttributeTreeNode*)aLabel.FindAttribute(aNode->ID()))) {
    MESSAGE("SALOMEDS_AttributeTreeNode_i class: no such attribute")
    MESSAGE("SALOMEDS_AttributeTreeNode_i class: no such attribute")
  }
  return aResult;
}

Here is the call graph for this function:

Here is the caller graph for this function: