Jpp  15.0.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
JLOGGER::JDebugStream Struct Reference

Level specific message streamers. More...

#include <JMessageStream.hh>

Inheritance diagram for JLOGGER::JDebugStream:
JLOGGER::JMessageStream

Public Types

typedef std::ostream &(* io_manip )(std::ostream &)
 Type definition of I/O operator. More...
 

Public Member Functions

 JDebugStream (JMessageLogger &logger)
 
template<class T >
JMessageStreamoperator<< (const T &value)
 Appends value to internal buffer. More...
 
JMessageStreamoperator<< (io_manip manip)
 Append I/O manipulator. More...
 

Protected Attributes

JMessageLoggerlogger
 
void(JMessageLogger::* typeout )(const std::string &)
 

Detailed Description

Level specific message streamers.

Definition at line 113 of file JMessageStream.hh.

Member Typedef Documentation

typedef std::ostream&(* JLOGGER::JMessageStream::io_manip)(std::ostream &)
inherited

Type definition of I/O operator.

Definition at line 65 of file JMessageStream.hh.

Constructor & Destructor Documentation

JLOGGER::JDebugStream::JDebugStream ( JMessageLogger logger)
inline

Definition at line 113 of file JMessageStream.hh.

Message streamer.
int debug
debug level
Definition: JSirene.cc:63
JDebugStream(JMessageLogger &logger)

Member Function Documentation

template<class T >
JMessageStream& JLOGGER::JMessageStream::operator<< ( const T value)
inlineinherited

Appends value to internal buffer.

Parameters
valuevalue
Returns
this JMessageStream

Definition at line 54 of file JMessageStream.hh.

55  {
56  static_cast<std::ostringstream&>(*this) << value;
57 
58  return *this;
59  }
JMessageStream& JLOGGER::JMessageStream::operator<< ( io_manip  manip)
inlineinherited

Append I/O manipulator.

Parameters
manipI/O manipulator
Returns
this JMessageStream

Definition at line 74 of file JMessageStream.hh.

75  {
76  static_cast<std::ostringstream&>(*this) << manip;
77 
78  return *this;
79  }

Member Data Documentation

JMessageLogger& JLOGGER::JMessageStream::logger
protectedinherited

Definition at line 105 of file JMessageStream.hh.

void(JMessageLogger::* JLOGGER::JMessageStream::typeout)(const std::string &)
protectedinherited

Definition at line 106 of file JMessageStream.hh.


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