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

  PUBLIC
ClassTemplateC::ClassTemplateC(void)
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 &)
ClassTemplateC::ClassTemplateC(ClassTemplateBodyC &)
ClassTemplateC::Body(void)
ClassTemplateC::Body(void) const
ClassC::IsA(const ObjectC &)
ClassC::Body(void)
ClassC::Body(void) const
ScopeC::IsA(const ObjectC &)
ScopeC::Body(void)
ScopeC::Body(void) const
ScopeC::Lookup(const StringC &)
ScopeC::LookupI(const StringC &,ObjectC &,bool,HSetC &)
ScopeC::LookupI(const StringC &,ObjectC &,bool)
ScopeC::Uses(void)
ScopeC::Merge(const ScopeC &)
ScopeC::Merge(const ObjectC &)
ScopeC::ResolveName(const StringC &,bool)
ScopeC::ResolveName(DListC,RCHashC &,bool)
ScopeC::Resolve(void)
ObjectListC::IsA(const ObjectC &)
ObjectListC::Body(void)
ObjectListC::Body(void) const
ObjectListC::List(void)
ObjectListC::List(void) const
ObjectListC::Append(const ObjectC &)
ObjectListC::SetWrapper(bool)
ObjectListC::IsWrapper(void) const
ObjectListC::SetAll(const StringC &,const StringC &)
ObjectListC::Find(const StringC &)
ObjectC::Body(void)
ObjectC::Body(void) const
ObjectC::Name(void)
ObjectC::Name(void) const
ObjectC::SetName(const StringC &)
ObjectC::TypeName(void) const
ObjectC::SetComment(const CommentInfoC &)
ObjectC::Comment(void)
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::GetScope(void)
ObjectC::SetParentScope(ScopeBodyC *)
ObjectC::HasParentScope(void) const
ObjectC::ParentScope(void)
ObjectC::FullPath(void) const
ObjectC::ActualPath(void) const
ObjectC::PathList(void) const
ObjectC::StartLineno(void)
ObjectC::EndLineno(void)
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::TemplArgList(void)
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::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 &)

   ClassTemplateC   
 
Templated class.
 
include "Ravl/CxxDoc/CxxElements.hh"
Created:08/12/1999 
Source file:Ravl/SourceTools/CxxDoc/CxxElements.hh
User Level:Normal
Library:RavlCxxDoc
In Scope:RavlCxxDocN

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

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

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

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

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

ClassTemplateC(ObjectC & obj)
Base class constructor.

ClassTemplateC(ClassTemplateBodyC & bod)
Body constructor.

ClassTemplateBodyC & Body()
Access body.

const ClassTemplateBodyC & Body() const
Access body.

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

ClassBodyC & Body()
Access body.

const ClassBodyC & Body() const
Access body.

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

ScopeBodyC & Body()
Access body.

const ScopeBodyC & Body() const
Access body.

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)

ObjectListBodyC & Body()
Access body.

const ObjectListBodyC & Body() const
Access body.

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.

ObjectBodyC & Body()
Access body.

const ObjectBodyC & Body() const
Access body.

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.

ObjectBodyC & Body()
Access body of object.

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

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


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