#include <P_RecTree.h>
Public Member Functions | |
RecTreeNode (const char *name=NULL) | |
~RecTreeNode () | |
LINK (RecTreeNode, link) | |
void | print () |
Print the current node's content. | |
Data Fields | |
RecRecord * | record_ptr |
RecTree * | subtree_ptr |
char * | node_name |
const char * | var_name_ptr |
int | num_leaf |
Definition at line 38 of file P_RecTree.h.
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.
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.
char* RecTreeNode::node_name |
Definition at line 46 of file P_RecTree.h.
Referenced by print(), RecTree::rec_tree_get(), RecTree::rec_tree_get_list(), RecTree::rec_tree_insert(), RecTreeNode(), and ~RecTreeNode().
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().
const char* RecTreeNode::var_name_ptr |
Definition at line 47 of file P_RecTree.h.
Referenced by print(), and RecTree::rec_tree_insert().