User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Source Tools - DefsMkFileC
 

  PUBLIC
DefsMkFileC::DefsMkFileC(void)
DefsMkFileC::DefsMkFileC(const StringC &,bool)
DefsMkFileC::Load(const StringC &,bool)
DefsMkFileC::Load(TextFileC &,bool,HashC &)
DefsMkFileC::CheckTag(StringC)
DefsMkFileC::Value(const StringC &)
DefsMkFileC::operator [](const StringC &)
DefsMkFileC::IsDefined(StringC)
DefsMkFileC::IsValid(void) const
DefsMkFileC::AllSources(void)
DefsMkFileC::AllNested(void)
DefsMkFileC::Nested(void)

   DefsMkFileC   
 
Interograte a defs.mk file.
 
include "Ravl/SourceTools/DefsFile.hh"
Created:14/05/98 
User Level:Normal
Library:RavlSourceTools
In Scope:RavlN

Variables:
Methods:
DefsMkFileC()
Default constructor.

DefsMkFileC(const StringC & fn,bool doCheck = true)
Filename.

bool Load(const StringC & fn,bool doCheck = true)
Load a def file.

bool Load(TextFileC & buf,bool doCheck,HashC<StringC,TextFragmentC> & frags)
Parse a def file from 'buf'.
This generates a table of fragements for each variable.

bool CheckTag(StringC tag)
Check if a tag is valid.

StringC Value(const StringC & tag)
Get value of tag.

StringC & operator [](const StringC & tag)
Get value of tag.

bool IsDefined(StringC tag)
Is tag defined ?

bool IsValid() const
Has def file been loaded ok ?

StringListC AllSources()
Make a list of all source files that should exists.

StringListC AllNested()
Make a list of nested directories.
This returns both active and inactive directories. the .r's are striped from all strings.

StringListC Nested()
Make a list of nested directories.
This returns only active directories. the .r's are striped from all strings.


Maintainer:Charles Galambos, Created: 14/05/98, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002