OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TTernaryTree< T, T1 > Class Template Reference

#include <owl/template.h>

Public Member Functions

 TTernaryTree ()
 
 ~TTernaryTree ()
 
T1 * Find (T *s)
 
void Insert (T *s, const T1 &data)
 
void Flush ()
 

Protected Member Functions

T1 * RSearch (TTernaryNode< T, T1 > *p, T *s)
 
TTernaryNode< T, T1 > * RInsert (TTernaryNode< T, T1 > *p, T *s, const T1 &data)
 
void Flush (TTernaryNode< T, T1 > *p)
 

Protected Attributes

TTernaryNode< T, T1 > * Root
 
uint ItemCnt
 

Detailed Description

template<class T, class T1>
class owl::TTernaryTree< T, T1 >

Definition at line 1023 of file template.h.

Constructor & Destructor Documentation

◆ TTernaryTree()

template<class T , class T1 >
owl::TTernaryTree< T, T1 >::TTernaryTree ( )
inline

Definition at line 1030 of file template.h.

◆ ~TTernaryTree()

template<class T , class T1 >
owl::TTernaryTree< T, T1 >::~TTernaryTree ( )
inline

Definition at line 1031 of file template.h.

Member Function Documentation

◆ Find()

template<class T , class T1 >
T1 * owl::TTernaryTree< T, T1 >::Find ( T * s)
inline

◆ Flush() [1/2]

template<class T , class T1 >
void owl::TTernaryTree< T, T1 >::Flush ( )
inline

◆ Flush() [2/2]

template<class T , class T1 >
void owl::TTernaryTree< T, T1 >::Flush ( TTernaryNode< T, T1 > * p)
inlineprotected

Definition at line 1075 of file template.h.

References owl::TTernaryTree< T, T1 >::Flush().

◆ Insert()

template<class T , class T1 >
void owl::TTernaryTree< T, T1 >::Insert ( T * s,
const T1 & data )
inline

◆ RInsert()

template<class T , class T1 >
TTernaryNode< T, T1 > * owl::TTernaryTree< T, T1 >::RInsert ( TTernaryNode< T, T1 > * p,
T * s,
const T1 & data )
inlineprotected

◆ RSearch()

template<class T , class T1 >
T1 * owl::TTernaryTree< T, T1 >::RSearch ( TTernaryNode< T, T1 > * p,
T * s )
inlineprotected

Definition at line 1046 of file template.h.

References owl::TTernaryTree< T, T1 >::RSearch().

Member Data Documentation

◆ ItemCnt

template<class T , class T1 >
uint owl::TTernaryTree< T, T1 >::ItemCnt
protected

Definition at line 1086 of file template.h.

◆ Root

template<class T , class T1 >
TTernaryNode<T,T1>* owl::TTernaryTree< T, T1 >::Root
protected

Definition at line 1085 of file template.h.


The documentation for this class was generated from the following file: