C# Class SharpMod.BinaryTree

The BinaryTree class to efficiently look up the integer identifiers associated them to the text identifiers
Datei anzeigen Open project: txdv/sharpmod Class Usage Examples

Protected Properties

Property Type Description
count int
root BinaryTree.Node

Public Methods

Method Description
Add ( Node node ) : void
Add ( string name, int val ) : void
BinaryTree ( ) : System
GetNode ( Node position, string name ) : Node
GetNode ( string name ) : Node
GetValue ( string name ) : int

Private Methods

Method Description
Add ( BinaryTree &position, BinaryTree newNode ) : void

Method Details

Add() public method

public Add ( Node node ) : void
node Node
return void

Add() public method

public Add ( string name, int val ) : void
name string
val int
return void

BinaryTree() public method

public BinaryTree ( ) : System
return System

GetNode() public method

public GetNode ( Node position, string name ) : Node
position Node
name string
return Node

GetNode() public method

public GetNode ( string name ) : Node
name string
return Node

GetValue() public method

public GetValue ( string name ) : int
name string
return int

Property Details

count protected_oe property

protected int count
return int

root protected_oe property

protected BinaryTree.Node,SharpMod root
return BinaryTree.Node