#include <SctApiDebug.h>
Collaboration diagram for SctApi::Debug:
Public Member Functions | |
bool | checkDebugOption (std::string opt) |
Check option is set, based on string (as enum in lower case without DEBUG and '_'). | |
bool | checkDebugOption (DebugOptions opt) |
Check option is set, based on DebugOptions enum. | |
void | setDebugOption (std::string opt) |
Set an option. | |
void | unsetDebugOption (std::string opt) |
Reset an option. | |
std::list< std::string > | listEnabledDebugOptions () |
Return list of all enabled options. | |
std::vector< std::string > | listDebugOptions () |
Return list of all possible options. | |
Static Public Member Functions | |
Debug * | getInstance () |
Return singleton instance. | |
Private Member Functions | |
void | setupDebugOptions () |
Private Attributes | |
std::list< std::string > | debugList |
Which debug options are enabled. | |
std::vector< std::string > | debugOptionList |
Possible debug options. | |
Static Private Attributes | |
Debug * | instance |
Definition at line 30 of file SctApiDebug.h.
|
Check option is set, based on DebugOptions enum.
Definition at line 53 of file SctApiDebug.cxx. References checkDebugOption(), and debugOptionList. |
Here is the call graph for this function:
|
Check option is set, based on string (as enum in lower case without DEBUG and '_').
Definition at line 45 of file SctApiDebug.cxx. References debugList. Referenced by checkDebugOption(). |
|
Return singleton instance.
Definition at line 158 of file SctApiDebug.cxx. |
|
Return list of all possible options.
Definition at line 41 of file SctApiDebug.cxx. References debugOptionList. |
|
Return list of all enabled options.
Definition at line 37 of file SctApiDebug.cxx. References debugList. |
|
Set an option.
Definition at line 19 of file SctApiDebug.cxx. References debugList, and debugOptionList. |
|
Reset an option.
Definition at line 31 of file SctApiDebug.cxx. References debugList. |
|
Which debug options are enabled.
Definition at line 32 of file SctApiDebug.h. Referenced by checkDebugOption(), listEnabledDebugOptions(), setDebugOption(), and unsetDebugOption(). |
|
Possible debug options.
Definition at line 35 of file SctApiDebug.h. Referenced by checkDebugOption(), listDebugOptions(), and setDebugOption(). |