csVerbosityParser Class Reference
Class to parse verbosity flags and allow checking of them. More...
#include <csutil/verbosity.h>
Public Member Functions | |
csVerbosityParser (const char *flags) | |
Construct the verbose flag parser. | |
bool | CheckFlag (const char *msgClass, const char *msgSubclass=0) |
Check for the verbosity of a class and subclass pair. |
Detailed Description
Class to parse verbosity flags and allow checking of them.This class is also internally used by csCheckVerbosity() and csVerbosityManager.
The syntax is [+|-]class{:[+|-]subclass}{,[+|-]class{:[+|-]subclass}}
. class
and subclass
specify the verbosity class and, for more fine-grained control, the verbosity subclass names; they match the strings passed to CheckFlag() at runtime. The "<tt>+</tt>" and "<tt>-</tt>" flags specify the actual verbosity; "<tt>+</tt>" enables, "<tt>-</tt>" disables verbosity for a specific class or subclass. There are the special class and subclass names "<tt>*</tt>" which control the default verbosity for all classes or subclasses of a class; they allow to enable or disable only specific classes or subclasses, e.g. --verbose=*,-scf
will enable verbosity for everything except the SCF diagnostic information.
Definition at line 48 of file verbosity.h.
Constructor & Destructor Documentation
|
Construct the verbose flag parser.
|
Member Function Documentation
|
Check for the verbosity of a class and subclass pair.
|
The documentation for this class was generated from the following file:
- csutil/verbosity.h
Generated for Crystal Space by doxygen 1.3.9.1