iVerbosityManager Struct Reference
Helper interface which applications and plugins can use to determine whether they should be verbose. More...
#include <iutil/verbositymanager.h>
Inheritance diagram for iVerbosityManager:

Public Member Functions | |
virtual bool | CheckFlag (char const *major, char const *minor) const =0 |
Given major and minor components, check if the verbosity class "major.minor" is enabled. | |
virtual bool | Enabled (char const *flag=0, bool fuzzy=true) const =0 |
Check if verbosity should be enabled for a particular flag. | |
void | Parse (char const *flags) |
Parse additional verbosity flags. |
Detailed Description
Helper interface which applications and plugins can use to determine whether they should be verbose.
At startup, --verbose=flags
command-line options are parsed. The results are made available via an instance of this interface in the global iObjectRegitry once csInitializer::CreateEnvironment() or csInitializer::CreateVerbosityManager() has been invoked. If you need to check verbosity during very early initialization, before an iVerbosityManager is available globally, you can instead use csParseVerbosity(), csCheckVerbosity(), or csVerbosityParser.
See the csVerbosityParser class description in <csutil/verbosity.h> for a highly detailed disucssion of the --verbose=flags
option syntax.
Definition at line 49 of file verbositymanager.h.
Member Function Documentation
|
Given major and minor components, check if the verbosity class "major.minor" is enabled.
Implemented in csVerbosityManager. |
|
Check if verbosity should be enabled for a particular flag.
Implemented in csVerbosityManager. Referenced by csVerbosityManager::CheckFlag(). |
|
Parse additional verbosity flags.
Reimplemented in csVerbosityManager. |
The documentation for this struct was generated from the following file:
- iutil/verbositymanager.h
Generated for Crystal Space by doxygen 1.4.4