dVal
PropertyNode
public
double dVal
EX1
void PropertyNode_dVal_ex1() { Tree tr; TreeNode trN = tr.AddNode("node1",1); trN.dVal = 1.23; //Assign double value to tree node out_tree(tr); }
EX2
// Output the double value of the node. void PropertyNode_dVal_ex2() { Tree tr; TreeNode tn1; tn1 = tr.AddNumericNode(3.14, "node1", 1); out_tree(tr); out_double("dVal = " , tn1.dVal); // Result: dVal = 3.14 }
Double value of the node.
origin.h
PropertyNode::dVals, PropertyNode::dVals2