polybori::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 polybori::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 polybori::CPrintOperation< ValueType, LiteralType, StreamType >::literal_type

Define for preceeding string literal.

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

Define stream type.

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

Define value type.


Constructor & Destructor Documentation

template<class ValueType , class LiteralType , class StreamType = std::ostream>
polybori::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& polybori::CPrintOperation< ValueType, LiteralType, StreamType >::operator() ( const value_type val,
  ... 
) const [inline]

Print operator.

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

Print operator.


Member Data Documentation

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


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

Generated on Mon Jul 13 21:48:43 2009 for PolyBoRi by  doxygen 1.5.9