model_server/lde/src/lde-hierarchy.cxx
// This file contains functions which modify
// ldr hierarchy tree  in a  consistent  way
// consistent with.  It would be  a nicer to
// define  hierarchy tree as a special class
// with  modification functions  defined  as
// methods.
This file contains functions which modify
ldr hierarchy tree  in a  consistent  way
consistent with.  It would be  a nicer to
define  hierarchy tree as a special class
with  modification functions  defined  as
methods.
This file contains functions which modify ldr hierarchy tree in a consistent way consistent with . It would be a nicer to define hierarchy tree as a special class with modification functions defined as methods .
void lde_insert_after(ldrNodePtr insertion_point, ldrNodePtr new_tree)
{
   Initialize(lde_insert_after);
   clear_connection_from_parent (new_tree);
   ldrNodePtr the_parent = checked_cast(ldrNode, insertion_point->get_parent());
   ldrConnectionNodePtr connection = find_connection(the_parent);
   ldrSymbolNodePtr insertion_point_symbol;
   int level;
   if (connection == NULL) Error(NO_CONNECTION);
   connection->add_output(root_symbol(new_tree));
   insertion_point->put_after(new_tree);
   insertion_point_symbol = root_symbol(insertion_point);
   level = insertion_point_symbol->get_graphlevel();
   adjust_hierarchy_levels(checked_cast(ldrHierarchyNode,new_tree), level);
}
void lde_insert_after ( ldrNodePtr insertion_point , ldrNodePtr new_tree ) { Initialize ( lde_insert_after ) ; clear_connection_from_parent ( new_tree ) ; ldrNodePtr the_parent = checked_cast ( ldrNode , insertion_point -> get_parent ( ) ) ; ldrConnectionNodePtr connection = find_connection ( the_parent ) ; ldrSymbolNodePtr insertion_point_symbol ; int level ; if ( connection == NULL ) Error ( NO_CONNECTION ) ; connection -> add_output ( root_symbol ( new_tree ) ) ; insertion_point -> put_after ( new_tree ) ; insertion_point_symbol = root_symbol ( insertion_point ) ; level = insertion_point_symbol -> get_graphlevel ( ) ; adjust_hierarchy_levels ( checked_cast ( ldrHierarchyNode , new_tree ) , level ) ; }
This file contains functions which modify
ldr hierarchy tree  in a  consistent  way
consistent with.
This file contains functions which modify ldr hierarchy tree in a consistent way consistent with .