Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Source Tools - AutoPort - AutoPortGeneratorBodyC
 

  PUBLIC
AutoPortGeneratorBodyC::AutoPortGeneratorBodyC(AutoPortSourceC &,StringC &,StringC &)
AutoPortGeneratorBodyC::BuildFiles(void)
AutoPortGeneratorBodyC::Init(void)
AutoPortGeneratorBodyC::Forall(StringC &)
AutoPortGeneratorBodyC::dos(StringC &)
AutoPortGeneratorBodyC::Lookup(const StringC &,StringC &)
AutoPortGeneratorBodyC::MakeFilename(const StringC &)
AutoPortGeneratorBodyC::CurFilename(void)
AutoPortGeneratorBodyC::CurLibInfo(void)
TemplateComplexBodyC::SetupPresets(const HSetC &)
TemplateComplexBodyC::Scan(StringC &)
TemplateComplexBodyC::Scan(TextFileC &)
TemplateComplexBodyC::Build(StringC &)
TemplateComplexBodyC::BuildSub(TextFileC &)
TemplateComplexBodyC::Lookup(const StringC &,StringC &)
TemplateComplexBodyC::InitCommands(void)
TemplateComplexBodyC::Interpret(const StringC &)
TemplateComplexBodyC::DoSet(StringC &)
TemplateComplexBodyC::DoFor(StringC &)
TemplateComplexBodyC::DoIf(StringC &)
TemplateComplexBodyC::DoIfSet(StringC &)
TemplateComplexBodyC::DoElse(StringC &)
TemplateComplexBodyC::DoInclude(StringC &)
TemplateComplexBodyC::DoSub(StringC &)
TemplateComplexBodyC::DoSubCopy(StringC &)
TemplateComplexBodyC::DoSubst(StringC &)
TemplateComplexBodyC::DoDefine(StringC &)
TemplateComplexBodyC::DoMacro(StringC &,StringC &)
TemplateComplexBodyC::DoUpperCase(StringC &)
TemplateComplexBodyC::DoLowerCase(StringC &)
TemplateComplexBodyC::DoSilent(StringC &)
TemplateComplexBodyC::DoErrPrint(StringC &)
TemplateComplexBodyC::DoBefore(StringC &)
TemplateComplexBodyC::DoAfter(StringC &)
TemplateComplexBodyC::HtmlSafe(StringC &)
TemplateComplexBodyC::MakeHtml(const StringC &)
TemplateComplexBodyC::MakeHtml(const SubStringC &)
TemplateComplexBodyC::SetVar(const StringC &,const StringC &)
TemplateComplexBodyC::GetVar(const StringC &)
TemplateComplexBodyC::SetupCommand(const StringC &,ObjT &,bool (*func)(StringC & arg) )
TemplateComplexBodyC::Output(void)
TemplateComplexBodyC::CheckCondition(const SubStringC &)
TemplateComplexBodyC::SetupCommand(const StringC &,bool (*func)(StringC & arg) )
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   AutoPortGeneratorBodyC   
 
Auto port engine
 
include "Ravl/SourceTools/AutoPortGenerator.hh"
Source file:Ravl/SourceTools/VisualCPP/AutoPortGenerator.hh
User Level:Develop
In Scope:RavlN

Parent Classes: Child Classes:
ContextC Access info about current lib.
Variables:
StackC context;

StringC target;
Current target.

StringC filePattern;

StringC fileObject;

StringC outputDir;

AutoPortSourceC src;
Info about source.

Methods:
AutoPortGeneratorBodyC(AutoPortSourceC & src,StringC & templ,StringC & output)
Constructor.

bool BuildFiles()
Build output files.

void Init()
Setup template stuff.

bool Forall(StringC & data)
For all template function.

bool dos(StringC & data)
Generate a DOS filename.

bool Lookup(const StringC & varname,StringC & buff)
Lookup variable.
if found put value into 'buff' and return true. otherwise return false.

StringC MakeFilename(const StringC & obj)
Make a file name for an object using filePattern.

StringC & CurFilename()
Access info about current filename.

LibInfoC & CurLibInfo()
Access info about current lib.

#include "Ravl/Text/TemplateComplex.hh"
void SetupPresets(const HSetC<StringC> & nameset)
Setup preset variables.

bool Scan(StringC & templ)
Scan template file for preset variables.
The key, and values are added to the vars list.

bool Scan(TextFileC & templ)
Scan template file for preset variables.
The key, and values are added to the vars list.

bool Build(StringC & fn)
Start build of document.

bool BuildSub(TextFileC & templ)
Start build of document.

bool Lookup(const StringC & varname,StringC & buff)
Lookup variable.
if found put value into 'buff' and return true. otherwise return false.

void InitCommands()
Setup default commands.

StringC Interpret(const StringC & str)
Interpret string 'str' and return the result.

bool DoSet(StringC & txt)
Set variable.

bool DoFor(StringC & txt)
Look over a list.

bool DoIf(StringC & txt)
If condition.

bool DoIfSet(StringC & txt)
If a variable is set.

bool DoElse(StringC & txt)
If a variable is set.

bool DoInclude(StringC & txt)
Include another template file.

bool DoSub(StringC & txt)
Make a sub context.

bool DoSubCopy(StringC & txt)
Make a sub context, copy old context.

bool DoSubst(StringC & txt)
Substution

bool DoDefine(StringC & txt)
Make a sub context, copy old context.

bool DoMacro(StringC & txt,StringC & macro)
Make a sub context, copy old context.

bool DoUpperCase(StringC & txt)
Make all text upper case.

bool DoLowerCase(StringC & txt)
Make all text lower case.

bool DoSilent(StringC & txt)
Make all text lower case.
Redirect output to /dev/null

bool DoErrPrint(StringC & txt)
Print a message to stderr.
Put the text on the stderr.

bool DoBefore(StringC & txt)
Return text before a string.

bool DoAfter(StringC & txt)
Return text after a string.

bool HtmlSafe(StringC & txt)
Make sure text will be taken literally in html.

StringC MakeHtml(const StringC & name)
Make string suitable for use in plain html.

StringC MakeHtml(const SubStringC & name)
Make string suitable for use in plain html.

void SetVar(const StringC & var,const StringC & val)
Set value of a variable.

StringC GetVar(const StringC & var)
Get value of a variable.

void SetupCommand(const StringC & cmd,ObjT & obj,bool (*func)(StringC & arg) )
Setup new command.
NB. Obj is used as a reference, it is assumed to be a derived instance of this class.

OStreamC & Output()
Access current output stream.

bool CheckCondition(const SubStringC & cond)
Check if a condition is met.

void SetupCommand(const StringC & cmd,bool (*func)(StringC & arg) )
Setup command func.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & 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.

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


Documentation by CxxDoc: Tue Aug 13 09:59:30 2002