【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.3.10.16 PropertyNode::strVal
Contents
ClassName
PropertyNode
AccessType
public
Name
strVal
Declaration
string strVal
Remark
Examples
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); }
EX1
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 }
Description
String value of the node.
Header to Include
origin.h