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

  PUBLIC
DocNodeC::DocNodeC(void)
DocNodeC::DocNodeC(ObjectC &)
DocNodeC::DocNodeC(const StringC &,const StringC &,const StringC &,const StringC &,const StringC &,const StringC &,bool)
DocNodeC::DocNodeC(DocNodeBodyC &)
DocNodeC::Body(void)
DocNodeC::Body(void) const
DocNodeC::AddNode(const DListC &,bool,const StringC &)
DocNodeC::FindChild(const StringC &,bool,const StringC &)
DocNodeC::SetUserlevel(const StringC &)
DocNodeC::SetDetailComment(const StringC &)
DocNodeC::SetBriefComment(const StringC &)
DocNodeC::UpdateVars(const HashC &)
DocNodeC::OrderChildren(const DListC &)
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 &)

   DocNodeC   
 
Doc node.
 
include "Ravl/CxxDoc/DocNode.hh"
Created:17/08/2000 
Source file:Ravl/SourceTools/CxxDoc/DocNode.hh
User Level:Normal
Library:RavlCxxDoc
In Scope:RavlCxxDocN

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

DocNodeC(ObjectC & obj)
Base class constructor.
Node if the base class is of a different type an invalid handle is created.

DocNodeC(const StringC & nm,const StringC & position = StringC (),const StringC & userlvl = "Default",const StringC & brief = StringC (),const StringC & docName = StringC (),const StringC & nodeType = StringC ("class"),bool aplaceHolder = false)
Constructor.

DocNodeC(DocNodeBodyC & bod)
Body constructor.

DocNodeBodyC & Body()
Access body.

const DocNodeBodyC & Body() const
Access body.

DocNodeC AddNode(const DListC<StringC> & id,bool create = true,const StringC & path = StringC ())
Find/Create node corresponding to the the address including and after 'it'.

DocNodeC FindChild(const StringC & id,bool doadd = false,const StringC & path = StringC ())
Find the named child.
if doadd is true, add the new DocNode. NB. this may fail if node exists, but is not a DocNode.

bool SetUserlevel(const StringC & value)
Set the user level of this node.

bool SetDetailComment(const StringC & value)
Set the detailed comment of the node.

bool SetBriefComment(const StringC & value)
Set the brief comment of the node.

bool UpdateVars(const HashC<StringC,StringC> & value)
Update node's variables.

bool OrderChildren(const DListC<StringC> & children)
Put children in given order.

#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: 17/08/2000, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002