Class hierarchy   Compound list   File list   Compound Members   File Members  

OptionSetKeeper Class Reference

Keeper for option sequence and input splitting. More...

List of all members.

Public Members

Private Members


Detailed Description

Keeper for option sequence and input splitting.


Member Function Documentation

OptionSetKeeper::OptionSetKeeper(OptionSetKeeper *_parent=NULL)

constructor

if _parent is !=NULL, it will be used for "default" and "global" lookups

virtual OptionSetKeeper::~OptionSetKeeper() [virtual]

virtual bool OptionSetKeeper::readSpecial(Parser &p) hook [virtual]

abstract.

checks whether the current token is some special key. If so, it parses the key, eats it and returns true.

Otherwise it return false.

This abstract implementation does nothing at all.

virtual bool OptionSetKeeper::postParsing(void) hook [virtual]

abstract.

post-parsing checks. If return value is false, the program will safely exit.

This abstract implementation does nothing at all.

int OptionSetKeeper::read(Parser &p)

ModList* OptionSetKeeper::lookup(const char *iname, bool useDefaults=true)

searches for matching ModList with name iname

if useDefaults is true, "default" and "global" lookups are done

Returns:
never NULL. If no matching group is found, a reference to empty_modlist is returned

void OptionSetKeeper::dump(const char *pref)

int OptionSetKeeper::readpart(Parser &p) [private]


Member Data Documentation

OptionSetKeeper* OptionSetKeeper::parent [private]

char* OptionSetKeeper::inames[MAX_FOPTS] [private]

ModList* OptionSetKeeper::optsets[MAX_FOPTS] [private]

int OptionSetKeeper::cursize [private]


The documentation for this class was generated from the following files:
Generated at Wed May 31 21:08:20 2000 for Rvtmod/rvglue by doxygen  written by Dimitri van Heesch, © 1997-1998