#include <CLESLog.h>
Classes | |
| struct | ldtype |
Public Member Functions | |
| void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
| void | jerror (const char *msg) |
| char * | trim (char *input) |
| ldtype * | lookup (int mod, int loc) |
| ldtype * | lookup (char *mod, char *loc) |
| void | header () |
| void | mark (ldtype *p) |
| void | unmark () |
| CLESLog () | |
| ~CLESLog () | |
| int | inactive () |
| void | initialize () |
| void | finalize () |
Static Public Attributes | |
| static int | reporting_level = 2 |
| static bool | active_log = false |
| static ldtype * | requested_last [100] |
| static ldtype | logtable [] |
| static std::string | _DefFile = "" |
| static int | log_table_size = sizeof(CLESLog::logtable)/sizeof(CLESLog::ldtype) |
| static int | log_indent = -1 |
| static int | _trace = 0 |
| static int | trace_indent = 0 |
| CLESLog::CLESLog | ( | ) | [inline] |
| CLESLog::~CLESLog | ( | ) | [inline] |
| void CLESLog::finalize | ( | ) | [inline] |
Referenced by WENOIntegrator< VectorType, DIM >::finish().
| void CLESLog::header | ( | ) | [inline] |
References CLESLOG_HEADERLEN, comm_service::log(), and log_indent.
| int CLESLog::inactive | ( | ) | [inline] |
References active_log, log_indent, and requested_last.
| void CLESLog::initialize | ( | ) | [inline] |
References CLESLog::ldtype::_active, _DefFile, active_log, CLESLOG_KEYMAXLEN, CLESLOG_MAXINDENT, lookup(), and requested_last.
Referenced by WENOIntegrator< VectorType, DIM >::SetupData().
| void CLESLog::jerror | ( | const char * | msg | ) | [inline] |
| ldtype* CLESLog::lookup | ( | char * | mod, | |
| char * | loc | |||
| ) | [inline] |
References CLESLog::ldtype::_loc_msg, CLESLog::ldtype::_mod_msg, CLESLOG_KEYMAXLEN, log_table_size, logtable, and p.
| ldtype* CLESLog::lookup | ( | int | mod, | |
| int | loc | |||
| ) | [inline] |
References CLESLog::ldtype::_loc, CLESLog::ldtype::_mod, log_table_size, logtable, and p.
Referenced by initialize().
| void CLESLog::mark | ( | ldtype * | p | ) | [inline] |
References log_indent, and requested_last.
| void CLESLog::register_at | ( | ControlDevice & | Ctrl, | |
| const std::string & | prefix | |||
| ) | [inline] |
References _DefFile, _trace, ControlDevice::getSubDevice(), and RegisterAt().
Referenced by WENOIntegrator< VectorType, DIM >::register_at().
| char* CLESLog::trim | ( | char * | input | ) | [inline] |
| void CLESLog::unmark | ( | ) | [inline] |
References log_indent, and requested_last.
std::string CLESLog::_DefFile = "" [static] |
Referenced by initialize(), and register_at().
int CLESLog::_trace = 0 [static] |
Referenced by register_at().
bool CLESLog::active_log = false [static] |
Referenced by inactive(), and initialize().
int CLESLog::log_indent = -1 [static] |
Referenced by header(), inactive(), mark(), and unmark().
int CLESLog::log_table_size = sizeof(CLESLog::logtable)/sizeof(CLESLog::ldtype) [static] |
Referenced by lookup().
CLESLog::ldtype CLESLog::logtable [static] |
{
{false, 1 , 1 , 0 ,
"CBC->EIGENSYSTEM", "CBC", "EIGENSYSTEM" },
{false, 1 , 2 , 0 ,
"CBC->REFPRESSURE", "CBC", "REFPRESSURE" },
{false, 2 , 1 , 0 ,
"ROE->STATES", "ROE", "STATES" },
{false, 3 , 1 , 0 ,
"TCD->STENCIL", "TCD", "STENCIL" }}
Referenced by lookup().
int CLESLog::reporting_level = 2 [static] |
CLESLog::ldtype * CLESLog::requested_last [static] |
Referenced by inactive(), initialize(), mark(), and unmark().
int CLESLog::trace_indent = 0 [static] |