Beispiel #1
0
        public void AddChild(RawTreeNode pChild)
        {
            if (pVec == null)
            {
                pVec = new List <RawTreeNode>();
            }

            pChild.SetParent(this);
            pVec.Add(pChild);
        }
Beispiel #2
0
        public bool Append(RawTreeNode child)
        {
            if (child == null)
            {
                return(false);
            }

            child.SetParent(this);
            GetVec().Add(child);

            return(true);
        }