GlobeEngine
geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE > Class Template Reference

#include <ArrayTreeNode.h>

Inheritance diagram for geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >:
geData::BalancedArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE > geData::DouglasPeuckerPathNode geData::GeometricBalancedArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE > geRaster::KPatchBintreeNode geRaster::MBlock

Public Member Functions

 ArrayTreeNode (int _uid=-1, int _parent=-1)
 
 ArrayTreeNode (int _uid, std::shared_ptr< KEYTYPE > _key, int _parent)
 
 ArrayTreeNode (int _uid, short _lod, int _parent)
 
 ~ArrayTreeNode ()
 
void clear ()
 
void setArrayNodeProperties (int _uid, std::shared_ptr< KEYTYPE > _key, int _parent, bool _isParent)
 
void setArrayNodeProperties (int _uid, short _lod, int _parent, bool _isParent)
 
void setArrayNodeProperties (int _uid, int _parent, bool _isParent)
 
void setChildByKey (std::shared_ptr< KEYTYPE > const &_key, int _childid)
 
int locateKeyInChild (std::shared_ptr< KEYTYPE > const &_key)
 
void setLod (short _lod)
 
void setBasic (int _uid, int _parent)
 
std::shared_ptr< KEYTYPE > const & getKey () const
 
void setKey (std::shared_ptr< KEYTYPE > _key)
 
int getUID () const
 
void setUID (int _uid)
 
const int getChildIdx (short _childIdx) const
 
void setChildIdx (short _childIdx, int _idx)
 
void repairChildIdx (int _nodeid)
 
bool isParent () const
 
void isParent (bool _input)
 
void setParentID (int _parent)
 
int getParentID () const
 
const intgetChildren () const
 
void clearChildIndices ()
 
void print ()
 

Protected Attributes

int children [TREESIZE]
 
std::shared_ptr< KEYTYPE > key
 

Constructor & Destructor Documentation

template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::ArrayTreeNode ( int  _uid = -1,
int  _parent = -1 
)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::ArrayTreeNode ( int  _uid,
std::shared_ptr< KEYTYPE >  _key,
int  _parent 
)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::ArrayTreeNode ( int  _uid,
short  _lod,
int  _parent 
)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::~ArrayTreeNode ( )
inline

Member Function Documentation

template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::clear ( )
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::clearChildIndices ( )
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
const int geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::getChildIdx ( short  _childIdx) const
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
const int* geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::getChildren ( ) const
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
std::shared_ptr< KEYTYPE > const& geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::getKey ( ) const
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
int geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::getParentID ( ) const
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
int geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::getUID ( ) const
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
bool geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::isParent ( ) const
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::isParent ( bool  _input)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
int geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::locateKeyInChild ( std::shared_ptr< KEYTYPE > const &  _key)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::print ( )
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::repairChildIdx ( int  _nodeid)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::setArrayNodeProperties ( int  _uid,
std::shared_ptr< KEYTYPE >  _key,
int  _parent,
bool  _isParent 
)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::setArrayNodeProperties ( int  _uid,
short  _lod,
int  _parent,
bool  _isParent 
)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::setArrayNodeProperties ( int  _uid,
int  _parent,
bool  _isParent 
)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::setBasic ( int  _uid,
int  _parent 
)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::setChildByKey ( std::shared_ptr< KEYTYPE > const &  _key,
int  _childid 
)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::setChildIdx ( short  _childIdx,
int  _idx 
)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::setKey ( std::shared_ptr< KEYTYPE >  _key)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::setLod ( short  _lod)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::setParentID ( int  _parent)
inline
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
void geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::setUID ( int  _uid)
inline

Member Data Documentation

template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
int geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::children[TREESIZE]
protected
template<short TREESIZE, class KEYTYPE , short HALFTREESIZE>
std::shared_ptr< KEYTYPE > geData::ArrayTreeNode< TREESIZE, KEYTYPE, HALFTREESIZE >::key
protected

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