User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
ConfigFileC::ConfigFileC(void)
ConfigFileC::ConfigFileC(bool)
ConfigFileC::ConfigFileC(const FilenameC &,BooleanT)
ConfigFileC::ConfigFileC(const RCAbstractC &,BooleanT)
ConfigFileC::Load(const FilenameC &,BooleanT)
ConfigFileC::CheckTag(const StringC &)
ConfigFileC::Value(const StringC &)
ConfigFileC::Value(const StringC &) const
ConfigFileC::Order(const StringC &)
ConfigFileC::operator[](const StringC &)
ConfigFileC::operator[](const StringC &) const
ConfigFileC::IsDefined(StringC)
ConfigFileC::Section(const StringC &)
ConfigFileC::IterVars(void)
ConfigFileC::ListSections(void)
RCHandleAC::Abstract(void)
RCHandleAC::IsHandleType(const DT &) const
RCHandleAC::CheckHandleType(const DT &) const
RCHandleAC::Save(ostream &) const
RCHandleAC::Copy(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
ConfigFileC
 
Config file.
 
include "amma/ConfigFile.hh"
User Level:Default
Library:TextProc
Example:exTemplateFile.cc
Section:Utilities.AMMA Maintenance
In Scope:StdIO

Parent Classes:

Methods:
ConfigFileC()
Default constructor.
Creates an invalid handle.

ConfigFileC(bool)
Constructor.

ConfigFileC(const FilenameC & fn,BooleanT doCheck = true)
Filename.

ConfigFileC(const RCAbstractC & ah,BooleanT mustBeValid = false)
Abstract constructor.

BooleanT Load(const FilenameC & fn,BooleanT doCheck = true)
Load a def file.

BooleanT CheckTag(const StringC & tag)
Check if a tag is valid.

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

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

UIntT Order(const StringC & tag)
Get the order no for tagged object.

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

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

BooleanT IsDefined(StringC tag)
Is tag defined ?

ConfigFileC Section(const StringC & tag)
Look for sub-section.
If none found an invalid handle is returned.

ConfigFileIterVarC IterVars()
Iterate variables.

DListC<StringC> ListSections()
Make a list of sections.

#include "amma/RCHandleA.hh"
RCAbstractC Abstract()
Create an abstract handle to this object.

BooleanT IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

BooleanT Save(ostream & out) const
Save to ostream.

RCHandleAC<ConfigFileBodyC> Copy() const
Creat a deep copy of this object.
protected:

#include "amma/RCHandle.hh"
BooleanT IsValid() const
Check its a valid handle.

BooleanT IsValidObject() const
Check its a valid handle, and that the object is pointed to is also valid.

RCHandleC<ConfigFileBodyC> & operator=(const RCHandleC<ConfigFileBodyC> & oth)
Assignment.

BooleanT operator==(const RCHandleC<ConfigFileBodyC> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<ConfigFileBodyC> & oth) const
Comparison operator.

UIntT Hash() const
Hash function.x

BooleanT IsConst() const
Is object constant ?

BooleanT IsNotConst() const
Is object not constant ?

void SetConst(void) const
Lock the object.
This is const as a convience though it actual modified the object, often object you wish to ensure are constant already have const set. protected:

void Invalidate()
Turn this into an invalid handle.

ConfigFileBodyC & Body()
Direct access to body.

const ConfigFileBodyC & Body() const
Constant access to body.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001