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

  PUBLIC
LiteralIndexLeafDataBodyC::LiteralIndexLeafDataBodyC(const LiteralC &,const DataT &)
LiteralIndexLeafDataBodyC::LiteralIndexLeafDataBodyC(const LiteralC &)
LiteralIndexLeafDataBodyC::Data(void)
LiteralIndexLeafDataBodyC::Data(void) const
LiteralIndexLeafBodyC::Key(void) const
LiteralIndexLeafBodyC::Lookup(const TupleC &,LiteralIndexElementC &)
LiteralIndexLeafBodyC::Name(void)
LiteralIndexLeafBodyC::Dump(ostream &,int) const
LiteralIndexLeafBodyC::Filter(const LiteralC &,LiteralIndexElementC &,LiteralC &)
LiteralIndexElementBodyC::Name(void)
LiteralIndexElementBodyC::Lookup(const TupleC &,LiteralIndexElementC &)
LiteralIndexElementBodyC::Insert(const TupleC &,LiteralIndexElementC &)
LiteralIndexElementBodyC::Filter(const LiteralC &,LiteralIndexElementC &,LiteralC &)
LiteralIndexElementBodyC::Dump(ostream &,int) const
LiteralIndexElementBodyC::Iterator(void)
LiteralIndexElementBodyC::Filter(const LiteralC &)
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   LiteralIndexLeafDataBodyC<class DataT>   
 
LiteralIndex data.
 
include "Ravl/Logic/LiteralIndexLeaf.hh"
Source file:Ravl/Logic/Index/LiteralIndexLeaf.hh
User Level:Develop
Library:RavlLogic
In Scope:RavlLogicN

Parent Classes: Variables:
DataT data;

Methods:
LiteralIndexLeafDataBodyC(const LiteralC & key,const DataT & dat)
Construct from key and data.

LiteralIndexLeafDataBodyC(const LiteralC & key)
Construct from key.
uses the default constructor for the data object.

DataT & Data()
Access data.

const DataT & Data() const
Access data.

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

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.

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

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

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.

#include "Ravl/Logic/LiteralIndexElement.hh"
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.

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

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.

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 filt.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


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