|
ug4
|
Context of a debugger writer: Keeps the debugging section etc. More...
#include <debug_writer.h>
Public Member Functions | |
| void | compose_file_path (std::string &path) |
| composes the path for the files and creates the intermediate directories (up to the base one): | |
| DebugWriterContext () | |
| constructor | |
| void | enter_section (const char *secDir) |
| enter a new debugging section | |
| std::string | get_base_dir () |
| void | leave_section () |
| leave the current debugging section | |
| void | print_message (const char *msg) |
| prints a message | |
| void | set_base_dir (const char *const baseDir) |
| set the base directory for output files (.vec and .mat) | |
Protected Attributes | |
| std::string | m_baseDir |
| base directory for the debugging output | |
| std::vector< std::string > | m_secDir |
| debuging section subdirectories | |
Context of a debugger writer: Keeps the debugging section etc.
|
inline |
constructor
|
inline |
composes the path for the files and creates the intermediate directories (up to the base one):
References ug::CreateDirectory(), ug::FileExists(), get_base_dir(), m_secDir, and UG_WARNING.
|
inline |
enter a new debugging section
References m_secDir.
|
inline |
References m_baseDir.
Referenced by compose_file_path().
|
inline |
leave the current debugging section
References m_secDir.
|
inline |
|
inline |
set the base directory for output files (.vec and .mat)
References m_baseDir.
|
protected |
base directory for the debugging output
Referenced by get_base_dir(), and set_base_dir().
|
protected |
debuging section subdirectories
Referenced by compose_file_path(), enter_section(), leave_section(), and print_message().