strVal
PropertyNode
public
string strVal
EX1
void PropertyNode_strVal_ex1() { Tree tr; TreeNode trN = tr.AddNode("node1",1); trN.strVal = "abc"; //Assign string value to tree node out_tree(tr); }
void PropertyNode_strVal_ex2() { Tree tr; TreeNode tn1; tn1 = tr.AddTextNode("Hello", "node1", 1); //Add TextNode out_tree(tr); out_str("strVal = " + tn1.strVal); //Output the text }
String value of the node.
origin.h
PropertyNode::strVals