108 string = (
char *) malloc (strlen (name)+1);
118 node->
name = strcpy (
string, name);
124 if (kind ==
KA_OBJECT && classType != NULL)
126 string = (
char *) malloc (strlen (classType)+1);
129 node->
objClass = strcpy (
string, classType);
134 string = (
char *) malloc (1);
137 node->
objClass = strcpy (
string,
"");
170 if (base_node == NULL)
218 if (base_node == NULL)
237 while (parameter != NULL)
263 if(base_node->
name != NULL)
265 free (base_node->
name);
266 base_node->
name = NULL;
301 if (base_node == NULL)
307 return (base_node->
parent);
350 if (base_node == NULL)
419 if (base_node == NULL || start_node == NULL)
440 if (node == base_node)
491 if (base_node == NULL || name == NULL)
502 while (node != NULL && strcmp (node->
name, name) != 0)
547 if (base_node == NULL || start_node == NULL || name == NULL)
558 while (node != NULL && strcmp (node->
name, name) != 0)
595 if (base_node == NULL)
603 parent = base_node->
parent;
611 else if (parent != NULL)
620 else if (parent != NULL)
668 if (base_node == NULL)
677 if (node_copy == NULL)
694 while (parameter != NULL)
707 while (child_node != NULL)
712 if (child_copy == NULL)
764 if (base_node == NULL || aggregate == NULL)
773 if (old_last != NULL)
784 aggregate->
parent = base_node;
AGGREGATE ParentAggregate(AGGREGATE base_node)
PARAMETER CopyParameter()
AGGREGATE FindAggregate(AGGREGATE base_node, char *name)
PARAMETER PasteParameter()
struct Parameter_Node * last_parameter
AGGREGATE RemoveAggregate(AGGREGATE base_node)
PARAMETER FirstParameter()
AGGREGATE PasteAggregate(AGGREGATE base_node, AGGREGATE aggregate)
struct Aggregate_Node * last_child
AGGREGATE NextAggregate(AGGREGATE base_node)
struct Aggregate_Node * right_sibling
HDFFCLIBAPI intf intf _fcd string
struct Aggregate_Node * first_child
AGGREGATE FindNextAggregate(AGGREGATE base_node, AGGREGATE start_node, char *name)
enum Aggregate_Kind AGGREGATE_KIND
struct Aggregate_Node * parent
struct Parameter_Node * first_parameter
AGGREGATE CutAggregate(AGGREGATE base_node)
struct Aggregate_Node * AGGREGATE
AGGREGATE CopyAggregate(AGGREGATE base_node)
PARAMETER NextParameter()
AGGREGATE NewAggregate(AGGREGATE base_node, AGGREGATE_KIND kind, char *name, char *classType)
AGGREGATE NextSubAggregate(AGGREGATE base_node, AGGREGATE start_node)
PARAMETER RemoveParameter()
struct Aggregate_Node * left_sibling
#define AGGREGATE_NODE_SIZE