Overture  Version 25
Public Types | Public Member Functions | List of all members
NTreeNode< degree, Data > Class Template Reference

#include <NTreeNode.h>

Public Types

typedef Data DataType
 

Public Member Functions

 NTreeNode ()
 
 NTreeNode (Data &data_)
 
 NTreeNode (Data &data_, NTreeNode *trunk_)
 
 NTreeNode (NTreeNode *trunk_)
 
 NTreeNode (NTreeNode< degree, Data > &node_)
 
 ~NTreeNode ()
 
int add (Data &data_)
 
int add (int d, Data &data_)
 
int add (int d)
 
int del (int nDel)
 
int change (NTreeNode *nPtr)
 
int change (int d, NTreeNode *nPtr)
 
bool querry (int d)
 
bool querry ()
 
int nullify ()
 
NTreeNodegetTrunk ()
 
const NTreeNodegetTrunk () const
 
NTreeNodegetLeaf (int d)
 
const NTreeNodegetLeaf (int d) const
 
Data & getData ()
 
const Data & getData () const
 

Member Typedef Documentation

template<int degree, class Data>
typedef Data NTreeNode< degree, Data >::DataType

Constructor & Destructor Documentation

template<int degree, class Data >
NTreeNode< degree, Data >::NTreeNode ( )
inline
template<int degree, class Data >
NTreeNode< degree, Data >::NTreeNode ( Data &  data_)
inline
template<int degree, class Data >
NTreeNode< degree, Data >::NTreeNode ( Data &  data_,
NTreeNode< degree, Data > *  trunk_ 
)
inline
template<int degree, class Data >
NTreeNode< degree, Data >::NTreeNode ( NTreeNode< degree, Data > *  trunk_)
inline
template<int degree, class Data>
NTreeNode< degree, Data >::NTreeNode ( NTreeNode< degree, Data > &  node_)
inline
template<int degree, class Data >
NTreeNode< degree, Data >::~NTreeNode ( )
inline

References AssertException(), and NULL.

Member Function Documentation

template<int degree, class Data >
int NTreeNode< degree, Data >::add ( Data &  data_)
inline

References AssertException(), and NULL.

template<int degree, class Data >
int NTreeNode< degree, Data >::add ( int  d,
Data &  data_ 
)
inline

References AssertException(), and NULL.

template<int degree, class Data >
int NTreeNode< degree, Data >::add ( int  d)
inline

References AssertException(), and NULL.

template<int degree, class Data >
int NTreeNode< degree, Data >::change ( NTreeNode< degree, Data > *  nPtr)
inline
template<int degree, class Data >
int NTreeNode< degree, Data >::change ( int  d,
NTreeNode< degree, Data > *  nPtr 
)
inline

References AssertException().

template<int degree, class Data >
int NTreeNode< degree, Data >::del ( int  nDel)
inline

References AssertException(), and NULL.

template<int degree, class Data>
Data& NTreeNode< degree, Data >::getData ( )
inline
template<int degree, class Data>
const Data& NTreeNode< degree, Data >::getData ( ) const
inline
template<int degree, class Data >
NTreeNode< degree, Data > & NTreeNode< degree, Data >::getLeaf ( int  d)
inline

References AssertException().

template<int degree, class Data >
const NTreeNode< degree, Data > & NTreeNode< degree, Data >::getLeaf ( int  d) const
inline

References AssertException().

template<int degree, class Data >
NTreeNode< degree, Data > & NTreeNode< degree, Data >::getTrunk ( )
inline
template<int degree, class Data >
const NTreeNode< degree, Data > & NTreeNode< degree, Data >::getTrunk ( ) const
inline
template<int degree, class Data >
int NTreeNode< degree, Data >::nullify ( )
inline

References NULL.

template<int degree, class Data >
bool NTreeNode< degree, Data >::querry ( int  d)
inline

References AssertException(), and NULL.

template<int degree, class Data >
bool NTreeNode< degree, Data >::querry ( )
inline

References NULL.


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