class MribLookup

The basic entry in the MribTable lookup tree. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 MribLookup (MribLookup *parent)

MribLookup

Constructor for a given parent entry.

Parameters:

parentthe parent entry.
 ~MribLookup ()

~MribLookup

Destructor

Mribmrib ()

mrib

[const]

Get the corresponding Mrib entry.

Returns: the corresponding Mrib entry if exists, otherwise NULL.

void  set_mrib (Mrib *v)

set_mrib

Set the corresponding Mrib entry.

Note that the previous value of the corresponding Mrib entry is overwritten.

Parameters:

vthe value of the corresponding Mrib entry.
MribLookupparent ()

parent

Get the parent MribLookup entry.

Returns: the parent MribLookup entry.

void  set_parent (MribLookup *v)

set_parent

Set the parent MribLookup entry.

Note that the previous value of the parent is overwritten.

Parameters:

vthe parent MribLookup to assign to this entry.
MribLookupleft_child ()

left_child

Get the left child MribLookup entry.

Note that the previous value of the left child is overwritten.

Returns: the left child MribLookup entry.

void  set_left_child (MribLookup *v)

set_left_child

Set the left child MribLookup entry.

Parameters:

vthe left child MribLookup to assign to this entry.
MribLookupright_child ()

right_child

Get the right child MribLookup entry.

Returns: the right child MribLookup entry.

void  set_right_child (MribLookup *v)

set_right_child

Set the right child MribLookup entry.

Note that the previous value of the right child is overwritten.

Parameters:

vthe right child MribLookup to assign to this entry.
MribLookupget_next ()

get_next

[const]

Get the next MribLookup entry.

The ordering of the entries is "depth-first search", where the nodes are returned in the following order: (a) the parent node; (b) the left-child node and all nodes within its subtree; (c) the right-child node and all nodes within its subtree;

Returns: the next MribLookup entry if exists, otherwise NULL.


Generated by: pavlin on possum.icir.org on Thu Mar 9 04:42:54 2006, using kdoc $.