User Documentation
RAVL, Recognition And Vision Library
Ravl - Source Tools - CxxDoc - Internal - ClassTemplateC

ClassTemplateC::ClassTemplateC(const StringC &,const ObjectC &)
ClassTemplateC::ClassTemplateC(const StringC &,DListC &)
ClassTemplateC::ClassTemplateC(const StringC &,const ObjectC &,const ObjectC &,const ObjectC &)
ClassTemplateC::IsA(const ObjectC &)
ClassTemplateC::ClassTemplateC(ObjectC &)
ClassC::IsA(const ObjectC &)
ScopeC::IsA(const ObjectC &)
ScopeC::Lookup(const StringC &)
ScopeC::LookupI(const StringC &,ObjectC &,bool,HSetC &)
ScopeC::LookupI(const StringC &,ObjectC &,bool)
ScopeC::Merge(const ScopeC &)
ScopeC::Merge(const ObjectC &)
ScopeC::ResolveName(const StringC &,bool)
ScopeC::ResolveName(DListC,RCHashC &,bool)
ObjectListC::IsA(const ObjectC &)
ObjectListC::List(void) const
ObjectListC::Append(const ObjectC &)
ObjectListC::IsWrapper(void) const
ObjectListC::SetAll(const StringC &,const StringC &)
ObjectListC::Find(const StringC &)
ObjectC::Name(void) const
ObjectC::SetName(const StringC &)
ObjectC::TypeName(void) const
ObjectC::SetComment(const CommentInfoC &)
ObjectC::Comment(void) const
ObjectC::SetVar(const StringC &,const StringC &)
ObjectC::Var(const StringC &)
ObjectC::Var(const StringC &) const
ObjectC::IsVar(const StringC &) const
ObjectC::Dump(ostream &,int)
ObjectC::SetScope(ObjectC &)
ObjectC::UpdateComment(CommentInfoC &)
ObjectC::SetParentScope(ScopeBodyC *)
ObjectC::HasParentScope(void) const
ObjectC::FullPath(void) const
ObjectC::ActualPath(void) const
ObjectC::PathList(void) const
ObjectC::CopyLineNo(const ObjectC &)
ObjectC::IncludeLineNo(const ObjectC &)
ObjectC::SetupLineNos(const ObjectC &,const ObjectC &)
ObjectC::SetupLineNos(const ObjectC &,const ObjectC &,const ObjectC &)
ObjectC::IsTemplate(void) const
ObjectC::Hash(void) const
ObjectC::operator ==(const ObjectC &) const
ObjectC::BaseName(void) const
ObjectC::FullName(RCHashC &,DesciptionGeneratorC &,int) const
ObjectC::Subst(RCHashC &) 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::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

Templated class.
include "Ravl/CxxDoc/CxxElements.hh"
User Level:Normal
In Scope:RavlCxxDocN

Parent Classes: Methods:
Default constructor.
Creates an invalid handle.

ClassTemplateC(const StringC & nname,const ObjectC & ntemplArgs)

ClassTemplateC(const StringC & nname,DListC<ObjectC> & contents)

ClassTemplateC(const StringC & nname,const ObjectC & contents,const ObjectC & inherit,const ObjectC & ntemplArgs)

static bool IsA(const ObjectC & obj)
Is object a class ?

ClassTemplateC(ObjectC & obj)
Base class constructor.

static bool IsA(const ObjectC & obj)
Is object a class ?

#include "Ravl/CxxDoc/CxxScope.hh"
static bool IsA(const ObjectC & obj)
Test if 'obj' is a ScopeC...

ObjectC & Lookup(const StringC & name)
Append to list.

bool LookupI(const StringC & name,ObjectC & nxt,bool useInherit,HSetC<ScopeC> & done)
Lookup name allowing for inheritance.
returns true if object has been found.

bool LookupI(const StringC & name,ObjectC & nxt,bool useInherit = true)
Lookup name allowing for inheritance.
returns true if object has been found.

DListC<ObjectC> & Uses()
Access inherit from list.

bool Merge(const ScopeC & oth)
Merge this scope with another.

bool Merge(const ObjectC & oth)
Merge this scope with another.

ObjectC ResolveName(const StringC & str,bool useInherit = true)
Resolve a name.

ObjectC ResolveName(DListC<ObjectC> path,RCHashC<StringC,ObjectC> & templSub,bool useInherit = true)
Resolve a name.
templSub contains any template paramiter subsitutions found when resolving the path.

void Resolve()
Resolve links in input data.

#include "Ravl/CxxDoc/Object.hh"
static bool IsA(const ObjectC & obj)

DListC<ObjectC> & List()
Access list.

const DListC<ObjectC> & List() const
Access list.

void Append(const ObjectC & obj)
Append to list.

void SetWrapper(bool val = true)
Set wrapper flag.

bool IsWrapper() const
Is a wrapper ?
Is this used to return multipal items ??

void SetAll(const StringC & var,const StringC & dat)
Set variable in all immediate children.

ObjectC Find(const StringC & name)
Find named child.
returns an invalid handle if not found.

StringC & Name()
Name of object.

const StringC & Name() const
Name of object.

void SetName(const StringC & nname)
Name of object.

const char * TypeName() const
Get name of object type.

void SetComment(const CommentInfoC & cinf)
Set comment info.

CommentInfoC & Comment()
Access comment.

const CommentInfoC & Comment() const
Access comment.

void SetVar(const StringC & nm,const StringC & value)
Set variable.

StringC Var(const StringC & nm)
Set variable.

StringC Var(const StringC & nm) const
Set variable.

bool IsVar(const StringC & nm) const
Set variable.

void Dump(ostream & out,int indent = 0)
Dump to 'out' in human readable form.

void SetScope(ObjectC & obj)
Set scope for object.

void UpdateComment(CommentInfoC & newComment)
Update the comments for the object.

ObjectC GetScope()
Set scope for object.

void SetParentScope(ScopeBodyC * ns)
Setup parent scope.

bool HasParentScope() const
Has a parent been set ?

ScopeBodyC & ParentScope()
Access parent.
ONLY valid if HasParent() returns true.

StringC FullPath() const
Get full path to object.

StringC ActualPath() const
Resolve data references correctly.

ObjectListC PathList() const
: Generate path list to this object.

int & StartLineno()
where does object start.

int & EndLineno()
where does object end.

void CopyLineNo(const ObjectC & ob)
Copy line no from object.

void IncludeLineNo(const ObjectC & ob)
Include lines into object.

void SetupLineNos(const ObjectC & ob1,const ObjectC & ob2)
Include lines into object.

void SetupLineNos(const ObjectC & ob1,const ObjectC & ob2,const ObjectC & ob3)
Include lines into object.

bool IsTemplate() const
Is this a templated object ?

ObjectListC & TemplArgList()
Access arg list.

UIntT Hash() const
Hash number for object.

bool operator ==(const ObjectC & ob) const
Is equal ?

const StringC & BaseName() const
Return base name.

StringC FullName(RCHashC<StringC,ObjectC> & templSub = emptyTemplSubst,DesciptionGeneratorC & dg = defaultDescGen,int maxDepth = 40) const
Get full name of object
template args and all.

ObjectC Subst(RCHashC<StringC,ObjectC> & subst) const
Create a new object with subsituted args.

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

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

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

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

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

ostream & operator <<(ostream & strm,const RCHandleC<ObjectBodyC> & obj)

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

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