AddNumericNode
Creates a new node with the specified name, id and the double value and returns that node.
Creates a new node with the specified name, id and the integer value and returns that node.
TreeNode AddNumericNode( double dVal, LPCSTR Name = NULL, int nChildID = -1 )
TreeNode AddNumericNode( int nVal, LPCSTR Name = NULL, int nChildID = -1 )
The newly added node.
EX1
void TreeNode_AddNumericNode_ex1() { Tree myTree; TreeNode tn1; tn1 = myTree.AddNumericNode(5.432, "node1", 1); out_tree(myTree); }
EX2
void TreeNode_AddNumericNode_ex2() { Tree myTree; TreeNode tn1; tn1 = myTree.AddNumericNode(5, "node1", 1); out_tree(myTree); }
TreeNode::AddNode, TreeNode::AddTextNode
origin.h