Public Member Functions | Data Fields

RecTreeNode Class Reference

#include <P_RecTree.h>

Collaboration diagram for RecTreeNode:
Collaboration graph
[legend]

Public Member Functions

 RecTreeNode (const char *name=NULL)
 ~RecTreeNode ()
 LINK (RecTreeNode, link)
void print ()
 Print the current node's content.

Data Fields

RecRecordrecord_ptr
RecTreesubtree_ptr
char * node_name
const char * var_name_ptr
int num_leaf

Detailed Description

Definition at line 38 of file P_RecTree.h.


Constructor & Destructor Documentation

RecTreeNode::RecTreeNode ( const char *  name = NULL  ) 

Definition at line 36 of file RecTree.cc.

References ats_strdup, and node_name.

RecTreeNode::~RecTreeNode (  ) 

Definition at line 51 of file RecTree.cc.

References ats_free(), and node_name.


Member Function Documentation

RecTreeNode::LINK ( RecTreeNode  ,
link   
)
void RecTreeNode::print (  ) 

Print the current node's content.

If this node is a leaf, that is, the subtree_list print count is zero, print the full variable name.

Definition at line 62 of file RecTree.cc.

References node_name, num_leaf, RecTree::print(), RecTreeDebug, subtree_ptr, and var_name_ptr.


Field Documentation

Definition at line 48 of file P_RecTree.h.

Referenced by print(), RecTree::rec_tree_get_list(), and RecTree::rec_tree_insert().

Definition at line 44 of file P_RecTree.h.

Definition at line 45 of file P_RecTree.h.

Referenced by print(), RecTree::rec_tree_get(), and RecTree::rec_tree_insert().

Definition at line 47 of file P_RecTree.h.

Referenced by print(), and RecTree::rec_tree_insert().


The documentation for this class was generated from the following files: