Class hierarchy   Compound list   File list   Compound Members   File Members  

AppOptions Class Reference

Holds app-wide info. More...

List of all members.

Public Members

Private Members


Detailed Description

Holds app-wide info.

appopt in appopts.h is only instance of this class.


Member Function Documentation

AppOptions::AppOptions()

AppOptions constructor desctip? and this?

AppOptions::~AppOptions()

dtor

bool AppOptions::parseArgs(int argc, char **argv)

parses command line args.

Returns:
is false, if there was an error
See also:
msglevel

bool AppOptions::setOutName(const char *basename)

Sets the output file names (woutname, ncpoutname, ioutname) according to the given basename, including auto-detection of file type

bool AppOptions::trySetOutName(char *) [private]

Parses the -o= command line option

void AppOptions::usage(void) [private]

Prints the "usage" info message


Member Data Documentation

bool AppOptions::errhelp

If false, the explanations for errors and warning won't be written

char* AppOptions::inputfname

Name of command file to process

char* AppOptions::woutname

Name of .w or .prm output file

char* AppOptions::ncpoutname

Name of .ncp output file

char* AppOptions::ioutname

Name of .i-w or .i-p output file

char* AppOptions::baseoutname

Base of output name

bool AppOptions::create_instance

If true, an instance is to be created


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