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

  PUBLIC
ParserBodyC::ParserBodyC(void)
ParserBodyC::~ParserBodyC(void)
ParserBodyC::Parse(const FilenameC &)
ParserBodyC::ParseTree(const FilenameC &)
ParserBodyC::NextToken(void)
ParserBodyC::LineNo(void)
ParserBodyC::CurrentFilename(void) const
ParserBodyC::Dump(ostream &)
ParserBodyC::Data(void)
ParserBodyC::Resolve(void)
ParserBodyC::ParseOuter(void)
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   ParserBodyC   
 
C++ File Parser
 
include "Ravl/CxxDoc/Parser.hh"
Created:06/12/1999 
Source file:Ravl/SourceTools/CxxDoc/Parser.hh
User Level:Develop
Library:RavlCxxDoc
In Scope:RavlCxxDocN

Parent Classes: Variables:
FlexLexer * lex;
Ptr because its really an external class.

FilenameC curFilename;

FilenameC rootFilename;
Directory where the search started.

ScopeC data;

Methods:
ParserBodyC()
Constructor.

~ParserBodyC()
Destructor.

bool Parse(const FilenameC & fn)
Parse a file.

bool ParseTree(const FilenameC & fn)
Parse a directory.

int NextToken()
Get the next token;

int LineNo()
Get current lineno

const FilenameC & CurrentFilename() const
Get current filename.

void Dump(ostream & out)
Dump database to 'out'

ObjectListC & Data()
Access parsed data.

bool Resolve()
Resolve references in input data.

bool ParseOuter()
Do top level parse.

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


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