CPrintOperation< ValueType, LiteralType, StreamType > Class Template Reference

This template prints a string literal to stream as operation. More...

#include <CPrintOperation.h>

List of all members.

Public Types

typedef StreamType stream_type
 Define stream type.
typedef ValueType value_type
 Define value type.
typedef LiteralType literal_type
 Define for preceeding string literal.

Public Member Functions

 CPrintOperation (stream_type &os_)
 (Default) constructor
value_typeoperator() (value_type &val,...) const
 Print operator.
const value_typeoperator() (const value_type &val,...) const
 Print operator.

Protected Attributes

std::ostream & os

Detailed Description

template<class ValueType, class LiteralType, class StreamType = std::ostream>
class CPrintOperation< ValueType, LiteralType, StreamType >

This template prints a string literal to stream as operation.


Member Typedef Documentation

template<class ValueType , class LiteralType , class StreamType = std::ostream>
typedef LiteralType CPrintOperation< ValueType, LiteralType, StreamType >::literal_type

Define for preceeding string literal.

template<class ValueType , class LiteralType , class StreamType = std::ostream>
typedef StreamType CPrintOperation< ValueType, LiteralType, StreamType >::stream_type

Define stream type.

template<class ValueType , class LiteralType , class StreamType = std::ostream>
typedef ValueType CPrintOperation< ValueType, LiteralType, StreamType >::value_type

Define value type.


Constructor & Destructor Documentation

template<class ValueType , class LiteralType , class StreamType = std::ostream>
CPrintOperation< ValueType, LiteralType, StreamType >::CPrintOperation ( stream_type os_  )  [inline]

(Default) constructor


Member Function Documentation

template<class ValueType , class LiteralType , class StreamType = std::ostream>
const value_type& CPrintOperation< ValueType, LiteralType, StreamType >::operator() ( const value_type val,
  ... 
) const [inline]
template<class ValueType , class LiteralType , class StreamType = std::ostream>
value_type& CPrintOperation< ValueType, LiteralType, StreamType >::operator() ( value_type val,
  ... 
) const [inline]

Member Data Documentation

template<class ValueType , class LiteralType , class StreamType = std::ostream>
std::ostream& CPrintOperation< ValueType, LiteralType, StreamType >::os [protected]

The documentation for this class was generated from the following file:
Generated on Wed May 5 19:06:07 2010 for PolyBoRi by  doxygen 1.6.3