CLESLog Class Reference

#include <CLESLog.h>

List of all members.

Classes

struct  ldtype

Public Member Functions

void register_at (ControlDevice &Ctrl, const std::string &prefix)
void jerror (const char *msg)
char * trim (char *input)
ldtypelookup (int mod, int loc)
ldtypelookup (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 ldtyperequested_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

Constructor & Destructor Documentation

CLESLog::CLESLog (  )  [inline]
CLESLog::~CLESLog (  )  [inline]

Member Function Documentation

void CLESLog::finalize (  )  [inline]
void CLESLog::header (  )  [inline]
int CLESLog::inactive (  )  [inline]
void CLESLog::jerror ( const char *  msg  )  [inline]
ldtype* CLESLog::lookup ( char *  mod,
char *  loc 
) [inline]
ldtype* CLESLog::lookup ( int  mod,
int  loc 
) [inline]
void CLESLog::mark ( ldtype p  )  [inline]

References log_indent, and requested_last.

void CLESLog::register_at ( ControlDevice Ctrl,
const std::string &  prefix 
) [inline]
char* CLESLog::trim ( char *  input  )  [inline]
void CLESLog::unmark (  )  [inline]

References log_indent, and requested_last.


Member Data Documentation

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().

Referenced by lookup().

Initial value:
 { 
    {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]
int CLESLog::trace_indent = 0 [static]

The documentation for this class was generated from the following file: