model_server/lde/src/lde-hierarchy.cxx
// root_symbol  returns  the  first child of
// parent_node. This  returned node  must be
// an ldrSymbolNode
root_symbol  returns  the  first child of
parent_node. This  returned node  must be
an ldrSymbolNode
root_symbol returns the first child of parent_node . This returned node must be an ldrSymbolNode
static
ldrSymbolNodePtr root_symbol (ldrNodePtr parent_node)
{
   Initialize(root_symbol);
   ldrNodePtr the_symbol = checked_cast(ldrNode, parent_node->get_first());
   if (! the_symbol->ldrIsA(ldrSymbolNodeType)) {
      Error(NOT_SYMBOL);
   }
   return(checked_cast(ldrSymbolNode, the_symbol));
}
static ldrSymbolNodePtr root_symbol ( ldrNodePtr parent_node ) { Initialize ( root_symbol ) ; ldrNodePtr the_symbol = checked_cast ( ldrNode , parent_node -> get_first ( ) ) ; if ( ! the_symbol -> ldrIsA ( ldrSymbolNodeType ) ) { Error ( NOT_SYMBOL ) ; } return ( checked_cast ( ldrSymbolNode , the_symbol ) ) ; }
root_symbol  returns  the  first child of
parent_node.
root_symbol returns the first child of parent_node .