Click or drag to resize

BaseTree Methods

The BaseTree type exposes the following members.

Methods
  NameDescription
Public methodAddChild
Add t as child of this node.
Public methodAddChildren
Add all elements of kids list as children of this node
Protected methodCreateChildrenList
Override in a subclass to change the impl of children list
Public methodDeleteChild
Public methodDupNode
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFreshenParentAndChildIndexes
Set the parent and child index values for all child of t
Public methodFreshenParentAndChildIndexes(Int32)
Public methodFreshenParentAndChildIndexesDeeply
Public methodFreshenParentAndChildIndexesDeeply(Int32)
Public methodGetAncestor
Walk upwards and get first ancestor with this token type.
Public methodGetAncestors
Return a list of all ancestors of this node. The first node of list is the root and the last is the parent of this node.
Public methodGetChild
Public methodGetFirstChildWithType
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasAncestor
Walk upwards looking for ancestor with this token type.
Public methodInsertChild
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReplaceChildren
Delete children from start to stop and replace with t even if t is a list (nil-root tree). num of children can increase or decrease. For huge child lists, inserting children can force walking rest of children to set their childindex; could be slow.
Public methodSanityCheckParentAndChildIndexes
Public methodSanityCheckParentAndChildIndexes(ITree, Int32)
Public methodSetChild
Public methodToString
Override to say how a node (not a tree) should look as text
(Overrides ObjectToString.)
Public methodToStringTree
Print out a whole tree not just a node
Top
See Also