Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Logic - Index - LiteralIndexLeafDataC<class DataT>
 

  PUBLIC
LiteralIndexLeafDataC::LiteralIndexLeafDataC(void)
LiteralIndexLeafDataC::LiteralIndexLeafDataC(const LiteralC &,const DataT &)
LiteralIndexLeafDataC::LiteralIndexLeafDataC(bool,const LiteralC &)
LiteralIndexLeafDataC::LiteralIndexLeafDataC(LiteralIndexLeafDataBodyC &)
LiteralIndexLeafDataC::Body(void)
LiteralIndexLeafDataC::Body(void) const
LiteralIndexLeafDataC::LiteralIndexLeafDataC(const LiteralIndexLeafC &)
LiteralIndexLeafDataC::Data(void)
LiteralIndexLeafDataC::Data(void) const
LiteralIndexLeafC::Body(void)
LiteralIndexLeafC::Body(void) const
LiteralIndexLeafC::Key(void) const
LiteralIndexElementC::Body(void)
LiteralIndexElementC::Body(void) const
LiteralIndexElementC::Name(void)
LiteralIndexElementC::Lookup(const TupleC &,LiteralIndexElementC &)
LiteralIndexElementC::Filter(const LiteralC &,LiteralIndexElementC &,LiteralC &)
LiteralIndexElementC::Insert(const TupleC &,LiteralIndexElementC &)
LiteralIndexElementC::Dump(ostream &,int) const
LiteralIndexElementC::Iterator(void)
LiteralIndexElementC::Filter(const LiteralC &)
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 &)

   LiteralIndexLeafDataC<class DataT>   
 
Index leaf with user data.
 
include "Ravl/Logic/LiteralIndexLeaf.hh"
Source file:Ravl/Logic/Index/LiteralIndexLeaf.hh
User Level:Advanced
Library:RavlLogic
In Scope:RavlLogicN

Comments:
Internal class for a literal index which associates the user data with a leaf in the tree.

Parent Classes: Methods:
LiteralIndexLeafDataC()
Default constructor.
creates an invalid handle.

LiteralIndexLeafDataC(const LiteralC & key,const DataT & dat)
Construct from key and data.

LiteralIndexLeafDataC(bool,const LiteralC & key)
Construct from key only.
the first bool is not used, and should be set to false.

LiteralIndexLeafDataC(LiteralIndexLeafDataBodyC<DataT> & bod)
Body constructor.

LiteralIndexLeafDataBodyC<DataT> & Body()
Access body.

const LiteralIndexLeafDataBodyC<DataT> & Body() const
Access body.

LiteralIndexLeafDataC(const LiteralIndexLeafC & base)
Base constructor.
if 'base' is not a LiteralIndexLeafC, an invalid handle will be created.

DataT & Data()
Access data.

const DataT & Data() const
Access data.

LiteralIndexLeafBodyC & Body()
Access body.

const LiteralIndexLeafBodyC & Body() const
Access body.

const LiteralC & Key() const
Access key for this leaf.

#include "Ravl/Logic/LiteralIndexElement.hh"
LiteralIndexElementBodyC & Body()
Access body.

const LiteralIndexElementBodyC & Body() const
Access body.

StringC Name()
Get name for element.
usefull for debuging.

bool Lookup(const TupleC & key,LiteralIndexElementC & next)
Lookup next level in tree.
returns true if this level is a leaf and leave next unchanged. if no suitable node is found 'next' is made invalid.

LiteralMapIterC<LiteralIndexElementC> Filter(const LiteralC & key,LiteralIndexElementC & next,LiteralC & var)
Filter next level in tree.
If there's a choice return an iterator otherwise the next branch in the tree is assigned to 'next'. var is the variable to witch the value of the iterator should be bound.

bool Insert(const TupleC & key,LiteralIndexElementC & next)
Insert/Replace element into the node.

void Dump(ostream & out,int level = 0) const
Dump index in human readable form.
For debugging only.

LiteralMapIterC<LiteralIndexElementC> Iterator()
Access iterator for all branches from this node.

LiteralMapIterC<LiteralIndexElementC> Filter(const LiteralC & filt)
Access iterator for all branches from this node matching filter ex.

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

RCHandleC<LiteralIndexElementBodyC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<LiteralIndexElementBodyC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<LiteralIndexElementBodyC> & 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.

LiteralIndexElementBodyC & Body()
Access body of object.

const LiteralIndexElementBodyC & 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<LiteralIndexElementBodyC> & obj)

istream & operator >>(istream & strm,RCHandleC<LiteralIndexElementBodyC> & obj)


Documentation by CxxDoc: Tue Aug 13 09:59:30 2002