Engauge Digitizer  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
log4cpp::CategoryStream Class Reference

Streaming of simple types and objects to a category. More...

#include <CategoryStream.hh>

Collaboration diagram for log4cpp::CategoryStream:
Collaboration graph

Public Member Functions

 CategoryStream (Category &category, Priority::Value priority)
 Single constructor. More...
 
virtual ~CategoryStream ()
 
CategorygetCategory () const
 Return useless value. More...
 
Priority::Value getPriority () const throw ()
 Return useless value. More...
 
void flush ()
 Noop. More...
 
template<typename T >
CategoryStreamoperator<< (const T &)
 Stream of arbitrary types and objects. More...
 
CategoryStreamoperator<< (const char *)
 Noop insertion method for character. More...
 
CategoryStreamoperator<< (const std::string &)
 Noop insertion method for string. More...
 
std::streamsize width (std::streamsize wide)
 Noop method to get width. More...
 

Detailed Description

Streaming of simple types and objects to a category.

Definition at line 15 of file CategoryStream.hh.

Constructor & Destructor Documentation

log4cpp::CategoryStream::CategoryStream ( Category category,
Priority::Value  priority 
)

Single constructor.

Definition at line 6 of file CategoryStream.cpp.

7  :
8  m_category (category)
9  {
10  }
log4cpp::CategoryStream::~CategoryStream ( )
virtual

Definition at line 12 of file CategoryStream.cpp.

13  {
14  }

Member Function Documentation

void log4cpp::CategoryStream::flush ( )

Noop.

Category& log4cpp::CategoryStream::getCategory ( ) const
inline

Return useless value.

Definition at line 25 of file CategoryStream.hh.

25 { return m_category; }
Priority::Value log4cpp::CategoryStream::getPriority ( ) const
throw (
)
inline

Return useless value.

Definition at line 28 of file CategoryStream.hh.

28  {
29  return m_priority;
30  }
template<typename T >
CategoryStream& log4cpp::CategoryStream::operator<< ( const T &  )
inline

Stream of arbitrary types and objects.

Definition at line 37 of file CategoryStream.hh.

37  {
38  return *this;
39  }
CategoryStream& log4cpp::CategoryStream::operator<< ( const char *  )
inline

Noop insertion method for character.

Definition at line 42 of file CategoryStream.hh.

42  {
43  return *this;
44  }
CategoryStream& log4cpp::CategoryStream::operator<< ( const std::string &  )
inline

Noop insertion method for string.

Definition at line 47 of file CategoryStream.hh.

47  {
48  return *this;
49  }
std::streamsize log4cpp::CategoryStream::width ( std::streamsize  wide)

Noop method to get width.


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