![]() |
Public API Reference |
![]() |
Default iVerbosityManager implementation. More...
#include <csutil/verbosity.h>
Public Member Functions | |
csVerbosityManager (char const *flags=0) | |
Constructor. | |
virtual bool | Enabled (char const *flag=0, bool fuzzy=true) const |
Check if verbosity should be enabled for a particular flag. | |
virtual void | Parse (char const *flags) |
Parse additional verbosity flags. | |
virtual | ~csVerbosityManager () |
Destructor. |
Default iVerbosityManager implementation.
Basically a thin wrapper around csVerbosityParser. An instance of iVerbosityManager can be extracted from the global iObjectRegistry once csInitializer::CreateEnvironment() or csInitializer::CreateVerbosityManager() has been invoked.
Definition at line 247 of file verbosity.h.
csVerbosityManager::csVerbosityManager | ( | char const * | flags = 0 | ) | [inline] |
Constructor.
Definition at line 259 of file verbosity.h.
virtual csVerbosityManager::~csVerbosityManager | ( | ) | [inline, virtual] |
Destructor.
Definition at line 263 of file verbosity.h.
virtual bool csVerbosityManager::Enabled | ( | char const * | flag = 0 , |
bool | fuzzy = true |
||
) | const [inline, virtual] |
Check if verbosity should be enabled for a particular flag.
flag | The flag for which verboseness should be queried. |
fuzzy | Whether the search should match flag exactly (fuzzy = false) or if it can traverse the inheritance chain when searching for a match (fuzzy = true). |
Implements iVerbosityManager.
Definition at line 283 of file verbosity.h.
virtual void csVerbosityManager::Parse | ( | char const * | flags | ) | [inline, virtual] |
Parse additional verbosity flags.
Implements iVerbosityManager.
Definition at line 270 of file verbosity.h.