#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 28 of file SctApiDebug.h.
|
Check option is set, based on DebugOptions enum.
|
|
Check option is set, based on string (as enum in lower case without DEBUG and '_').
|
|
Return singleton instance.
|
|
Return list of all possible options.
|
|
Return list of all enabled options.
|
|
Set an option.
|
|
Reset an option.
|
|
Which debug options are enabled.
Definition at line 30 of file SctApiDebug.h. |
|
Possible debug options.
Definition at line 33 of file SctApiDebug.h. |