Rosetta 3.3
Classes | Namespaces | Typedefs | Enumerations | Functions
src/basic/Tracer.hh File Reference

Tracer IO system. More...

#include <basic/Tracer.fwd.hh>
#include <utility/pointer/ReferenceCount.hh>
#include <utility/pointer/owning_ptr.hh>
#include <sstream>
#include <utility/vector1_bool.hh>

Classes

class  basic::basic_otstream< CharT, Traits >
 Base class for Tracer, TracerProxy and UTracer objects. More...
class  basic::basic_otstream< CharT, Traits >::basic_tstringbuf< _CharT, _Traits >
 Wrapper class for std::stringbuf. More...
struct  basic::TracerOptions
 data structure to store all system level options for Tracer system. More...
class  basic::Tracer
 Class for handling user debug/warnings/errors. Use instance of this class instead of 'std::cout' for all your regular io. Channel argument must be related to the location of the source file. For example if you create Tracer object in src/basic/scoring/myfile.cc, then channel must be something like 'src.basic.scoring.myfile'. More...
class  basic::Tracer::TracerProxy
 Small inner class acting as a proxy to an object that hold it. More...

Namespaces

namespace  basic

Typedefs

typedef basic_otstream< char > basic::otstream
typedef
utility::pointer::owning_ptr
< otstream > 
basic::otstreamOP

Enumerations

enum  basic::TracerPriority {
  basic::t_fatal = 0, basic::t_error = 100, basic::t_warning = 200, basic::t_info = 300,
  basic::t_debug = 400, basic::t_trace = 500
}
 Priority levels for T() and Tracer object, modeled on the log4j project and its offspring. Priorities in Tracer are still ints so users can pass other arbitrary integer values (for now). More...

Functions

Tracer & basic::T (std::string const &channel, TracerPriority priority=t_info)
 T is special function for assign tracer property on the static object.
Tracer & basic::Error (TracerPriority priority=t_error)
 Predefined Error tracer.
Tracer & basic::Warning (TracerPriority priority=t_warning)
 Predefined Warning tracer.

Detailed Description

Tracer IO system.

Author:
Sergey Lyskov
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines