The function: TreeNode_GetValue_ex2() doesnt find the values. I think method GetValue() only finds value, if first added node, from which method was called, is a leaf holding a value.
For example look at TreeNode_GetValue_ex1(). In other cases no value will be found.
Another thing is, that the parameter BOOL bAll doesnt make sence in method GetValue(), it only makes sence in method SetValue(), where all values should be changed, if bAll = TRUE.
But in function: TreeNode_SetValue_ex2() not all values got changed, even though bAll = TRUE.
Please take a look at this.
|-- TreeNode ...|-- a?? ...|-- ha!!
2 L A T E S T R E P L I E S (Newest First)
TreeNode
Posted - 03/26/2010 : 12:51:45 PM Hi Iris,
thanks for that. Have you checked the functionality of methods too? For example that TreeNode::SetValue() doesnt change all values, even though BOOL bAll = true?
|-- TreeNode ...|-- a?? ...|-- ha!!
Iris_Bai
Posted - 03/25/2010 : 10:14:50 AM Hi,
You are right, aAll is useless for TreeNode::GetValue method, we have updated the document.