Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Source Tools - CxxDoc - Internal - InheritIterC
 

  PUBLIC
InheritIterC::InheritIterC(ObjectC &,ScopeAccessT,bool)
InheritIterC::Next(void)
InheritIterC::operator ++(int)
InheritIterC::Data(void)
InheritIterC::Data(void) const
InheritIterC::operator *(void)
InheritIterC::operator *(void) const
InheritIterC::operator ->(void)
InheritIterC::operator ->(void) const
InheritIterC::IsElm(void) const
InheritIterC::operator bool(void) const
InheritIterC::CurrentScope(void)
InheritIterC::TemplateSubs(void)
InheritIterC::NextValid(void)
InheritIterC::ListNext(InstanceDefT &)

   InheritIterC   
 
Iterator through all objects in the inheritance hirachy.
 
include "Ravl/CxxDoc/CxxScope.hh"
Created:08/12/1999 
Source file:Ravl/SourceTools/CxxDoc/CxxScope.hh
User Level:Normal
Library:RavlCxxDoc
In Scope:RavlCxxDocN

Typedefs:
typedef Tuple2C<ObjectC,RCHashC<StringC,ObjectC>> InstanceDefT;

Variables:
bool localOnly;
Restrict search to local scope.

DLIterC at;
Iterate objects in current scope.

DListC toDo;
Scopes yet to be processed.

HSetC done;
Scopes that have been handled already.

ScopeC currentScope;
Info about current scope.

RCHashC currentTSubs;
current template substitutions.

ScopeAccessT incAccess;

Methods:
InheritIterC(ObjectC & start,ScopeAccessT nIncAccess = SAProtected,bool localOnly = false)
Constructor.
start = inital context.
nIncAccess = Access level to use. i.e. SAPublic means only look at the public interface.
if localOnly is true don't look at inherited scopes.

bool Next()
Goto next.
Returns true if there is a next element.

void operator ++(int)
Goto next object.

ObjectC & Data()
Get current object.

const ObjectC & Data() const
Get current object.

ObjectC & operator *()
Get current object.

const ObjectC & operator *() const
Get current object.

ObjectC * operator ->()
Get current object.

const ObjectC * operator ->() const
Get current object.

bool IsElm() const
Is element in list ?

operator bool() const
Is element in list ?

ScopeC & CurrentScope()
Get current scope.

RCHashC<StringC,ObjectC> & TemplateSubs()
Access current template subsitutions.

bool NextValid()
Goto next valid element.

bool ListNext(InstanceDefT & start)
Goto next valid element.


Maintainer:Charles Galambos, Created: 08/12/1999, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002