public void AddChild(RawTreeNode pChild) { if (pVec == null) { pVec = new List <RawTreeNode>(); } pChild.SetParent(this); pVec.Add(pChild); }
public bool Append(RawTreeNode child) { if (child == null) { return(false); } child.SetParent(this); GetVec().Add(child); return(true); }