Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Trees - HashTreeNodeC<class KeyT,class DataT>
 

  PUBLIC
HashTreeNodeC::HashTreeNodeC(void)
HashTreeNodeC::HashTreeNodeC(HashTreeNodeBodyC &)
HashTreeNodeC::Body(void)
HashTreeNodeC::Body(void) const
HashTreeNodeC::Data(void)
HashTreeNodeC::Data(void) const
HashTreeNodeC::IsLeaf(void) const
HashTreeNodeC::Dump(ostream &,int) const
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::Invalidate(void)
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::Body(void)
RCHandleC::Body(void) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

   HashTreeNodeC<class KeyT,class DataT>   
 
Base class for tree's.
 
include "Ravl/HashTree.hh"
Source file:Ravl/Core/Container/Trees/HashTree.hh
User Level:Advanced
Library:RavlCore
In Scope:RavlN

Parent Classes: Derived Classes: Methods:
HashTreeNodeC()
Default constructor.
Creates an invalid handle.

HashTreeNodeC(HashTreeNodeBodyC<KeyT,DataT> & bod)
Default constructor.

HashTreeNodeBodyC<KeyT,DataT> & Body()
Access body.

const HashTreeNodeBodyC<KeyT,DataT> & Body() const
Access body.

DataT & Data()
Access data.

const DataT & Data() const
Access data.

bool IsLeaf() const
Test if node is a leaf in the tree.

ostream & Dump(ostream & out,int level = 0) const
Dump in a easly readable format.

#include "Ravl/RefCounter.hh"
const RCHandleC<HashTreeNodeBodyC<KeyT,DataT>> & operator =(const RCHandleC<HashTreeNodeBodyC<KeyT,DataT>> & oth)
Assign handle.

RCHandleC<HashTreeNodeBodyC<KeyT,DataT>> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<HashTreeNodeBodyC<KeyT,DataT>> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<HashTreeNodeBodyC<KeyT,DataT>> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

HashTreeNodeBodyC<KeyT,DataT> & Body()
Access body of object.

const HashTreeNodeBodyC<KeyT,DataT> & Body() const
Constant access to body of object.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<HashTreeNodeBodyC<KeyT,DataT>> & obj)

istream & operator >>(istream & strm,RCHandleC<HashTreeNodeBodyC<KeyT,DataT>> & obj)


Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002