Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

log.hh File Reference

#include <ostream>
#include <sstream>
#include <cassert>
#include <sys/time.h>
#include "log.hxx"

Go to the source code of this file.

Namespaces

namespace  olsr
namespace  olsr::utl

Defines

#define QOLYESTER_UTL_LOG_HH   1
#define indent(S)   utl::basic_indent<char, std::char_traits<char> >(S)

Typedefs

typedef utl::PrefixBuf< StringPrefixer,
char > 
StringPrefixBuf
typedef utl::PrefixBuf< Timestamper,
char > 
TimestampBuf
typedef utl::basic_dummyostream<
char > 
DummyOStream
typedef utl::basic_levelbuf<
char > 
LevelBuf
typedef utl::basic_ybuf< char > YBuf
typedef utl::basic_dummybuf<
char > 
DummyBuf
typedef DummyOStream debug_ostream_t

Functions

std::ostream & operator<< (std::ostream &os, const of &f)
template<class C, class T>
std::basic_ostream< C, T > & indent (std::basic_ostream< C, T > &os)
template<class C, class T>
std::basic_ostream< C, T > & deindent (std::basic_ostream< C, T > &os)
template<typename C, typename T>
basic_indent_< C, T > basic_indent (const std::basic_string< C, T > &s=std::basic_string< C, T >(2, ' '))
template<typename C, typename T>
std::basic_ostream< C, T > & operator<< (std::basic_ostream< C, T > &os, const basic_indent_< C, T > &i)
template<typename C, typename T>
std::basic_ostream< C, T > & up (std::basic_ostream< C, T > &os)
template<typename C, typename T>
std::basic_ostream< C, T > & down (std::basic_ostream< C, T > &os)
template<typename C, typename T>
std::basic_ostream< C, T > & reset (std::basic_ostream< C, T > &os)
up_ up (unsigned i=1)
down_ down (unsigned i=1)
template<typename C, typename T>
std::basic_ostream< C, T > & operator<< (std::basic_ostream< C, T > &os, const up_ &u)
template<typename C, typename T>
std::basic_ostream< C, T > & operator<< (std::basic_ostream< C, T > &os, const down_ &d)


Define Documentation

#define indent  )     utl::basic_indent<char, std::char_traits<char> >(S)
 

#define QOLYESTER_UTL_LOG_HH   1
 


Typedef Documentation

typedef DummyOStream olsr::debug_ostream_t
 

typedef utl::basic_dummybuf<char> olsr::DummyBuf
 

typedef utl::basic_dummyostream<char> olsr::DummyOStream
 

typedef utl::basic_levelbuf<char> olsr::LevelBuf
 

typedef utl::PrefixBuf<StringPrefixer, char> olsr::StringPrefixBuf
 

typedef utl::PrefixBuf<Timestamper, char> olsr::TimestampBuf
 

typedef utl::basic_ybuf<char> olsr::YBuf
 


Function Documentation

template<typename C, typename T>
basic_indent_<C, T> basic_indent const std::basic_string< C, T > &  s = std::basic_string<C, T>(2, ' ')  )  [inline]
 

template<class C, class T>
std::basic_ostream<C, T>& deindent std::basic_ostream< C, T > &  os  )  [inline]
 

down_ down unsigned  i = 1  )  [inline]
 

template<typename C, typename T>
std::basic_ostream<C, T>& down std::basic_ostream< C, T > &  os  )  [inline]
 

template<class C, class T>
std::basic_ostream<C, T>& indent std::basic_ostream< C, T > &  os  )  [inline]
 

template<typename C, typename T>
std::basic_ostream<C, T>& operator<< std::basic_ostream< C, T > &  os,
const down_ &  d
[inline]
 

template<typename C, typename T>
std::basic_ostream<C, T>& operator<< std::basic_ostream< C, T > &  os,
const up_ &  u
[inline]
 

template<typename C, typename T>
std::basic_ostream<C, T>& operator<< std::basic_ostream< C, T > &  os,
const basic_indent_< C, T > &  i
[inline]
 

std::ostream& operator<< std::ostream &  os,
const of &  f
[inline]
 

template<typename C, typename T>
std::basic_ostream<C, T>& reset std::basic_ostream< C, T > &  os  )  [inline]
 

up_ up unsigned  i = 1  )  [inline]
 

template<typename C, typename T>
std::basic_ostream<C, T>& up std::basic_ostream< C, T > &  os  )  [inline]
 


Generated on Thu Jul 28 21:21:49 2005 for Qolyester daemon by  doxygen 1.4.1