→ index of namespace default
 
→ index of project core
 
→ index of module core

Class core.TreeNode


Synopsis: An L/R tree that can store arbitrary user data along with a String identifier.

  Base classes:
  Methods:
See also:  



Method findById
Find TreeNode by id.
Signature
findById(Stringid,
  intdepth 
  )  
 :TreeNode
Arguments
Stringid–
intdepth–
Returns
Description

Note: It might be necessary to replace "name=" by "id=". SGML/HTML usually uses "id" to set the node id, XML uses "name" (not to be confused by type name!).

 
→ top of page
Method findByName
Find TreeNode by type name
Signature
findByName(Stringname,
  intdepth 
  )  
 :TreeNode
Arguments
Stringname–
intdepth–
Returns

 
→ top of page
Method free
Signature
free()

 
→ top of page
Method getId
Signature
getId():String
Returns
String–

See also:  


 
→ top of page
Method getLeft
Signature
getLeft():TreeNode
Returns

See also:  


 
→ top of page
Method getName
Signature
getName():String
Returns
String–

See also:  


 
→ top of page
Method getNumNodes
Signature
getNumNodes():int
Returns
int–

 
→ top of page
Method getParent
Signature
getParent():TreeNode
Returns

 
→ top of page
Method getRight
Signature
getRight():TreeNode
Returns

See also:  


 
→ top of page
Method getRoot
Signature
getRoot():TreeNode
Returns

 
→ top of page
Method insertLeft
Insert a copy of the given object into the tree.
Signature
insertLeft(Objecto)
 :TreeNode
Arguments
Objecto–
Returns
TreeNode–@todo Provide script context for object clone

 
→ top of page
Method insertRight
Insert a copy of the given object into the tree.
Signature
insertRight(Objecto)
 :TreeNode
Arguments
Objecto–
Returns
TreeNode–@todo Provide script context for object clone

 
→ top of page
Method seekByPathName
Signature
seekByPathName(StringpathName)
 :TreeNode
Arguments
StringpathName–
Returns

 
→ top of page
Method setId
Signature
setId(Stringid)
Arguments
Stringid–

See also:  


 
→ top of page
Method setLeft
Signature
setLeft(TreeNoden)
Arguments
TreeNoden–

See also:  


 
→ top of page
Method setName
Signature
setName(Stringname)
Arguments
Stringname–

See also:  


 
→ top of page
Method setRight
Signature
setRight(TreeNoden)
Arguments
TreeNoden–

See also:  


 
→ top of page
Method writeToHashTable
Signature
writeToHashTable(HashTableht)
Arguments
HashTableht–

 
→ top of page
 

Project Modules:core 
Project Classes:Boolean , Buffer , Byte , Class , ClassArray , Condition , Configuration , Double , DummyStream , Envelope , Event , Exception , File , Float , FloatArray , FloatArray128 , FloatArray16 , FloatArray32 , FloatArray64 , FloatArray8 , Function , HashTable , IntArray , IntArray128 , IntArray16 , IntArray32 , IntArray64 , IntArray8 , Integer , LFSR , LFSR_NR , List , ListNode , Long , Mailbox , Mutex , Object , ObjectArray , PakFile , PointerArray , Pool , Process , Script , SharedBuffer , Short , Stack , StdErrStream , StdInStream , StdOutStream , Stream , String , String128 , String16 , String32 , String64 , String8 , StringArray , StringIterator , Thread , Time , TKS , TreeNode , UnsignedByte , UnsignedInteger , UnsignedLong , UnsignedShort , Value , ValueArray , Variable 
Project Functions:ceil , exit , floor , GetCurrentThread , getenv , lcchar , mathAbsMaxf , mathAbsMinf , mathAbsMini , mathAbsMini , mathCerpf , mathClampf , mathClampi , mathDistancePointPlane2d , mathFoldf , mathFoldi , mathGCD , mathLerpCyclicf , mathLerpf , mathMaxf , mathMaxi , mathMinf , mathMini , mathNextCyclicf , mathPowerf , mathPowerfC , mathPoweri , mathSerpf , mathSmoothStepf , mathSmoothStepNf , mathWrapf , mathWrapi , milliSeconds , milliSecondsDouble , psystem , putenv , srand , system , ucchar 
All Namespaces:default , graph , ui 
All Projects:core , eqxmms , ShaderVG , ShaderVG_Text , tkanalogrytm , tkchipmunk , tkclap , tkfileutils , tkfreeglut , tkfreetype2 , tkfreeverb , tkmath , tkmidi , tkmidipipe , tkminnie , tkoldmath , tkopengl , tkportaudio , tkradiastools , tksamplechain , tksampleedit , tksampler , tksdl , tksdl_net , tksidplay2 , tkspeexdsp , tksqlite , tktriangulate , tkui , tkvst2 , tkzip , ui , yingtest 


auto-generated by "DOG", the TkScript document generator. Tue, 3/Mar/2026 18:10:17