This template prints a string literal to stream as operation. More...
#include <CPrintOperation.h>
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_type & | operator() (value_type &val,...) const |
Print operator. | |
const value_type & | operator() (const value_type &val,...) const |
Print operator. | |
Protected Attributes | |
std::ostream & | os |
This template prints a string literal to stream as operation.
typedef LiteralType CPrintOperation< ValueType, LiteralType, StreamType >::literal_type |
Define for preceeding string literal.
typedef StreamType CPrintOperation< ValueType, LiteralType, StreamType >::stream_type |
Define stream type.
typedef ValueType CPrintOperation< ValueType, LiteralType, StreamType >::value_type |
Define value type.
CPrintOperation< ValueType, LiteralType, StreamType >::CPrintOperation | ( | stream_type & | os_ | ) | [inline] |
(Default) constructor
const value_type& CPrintOperation< ValueType, LiteralType, StreamType >::operator() | ( | const value_type & | val, | |
... | ||||
) | const [inline] |
Print operator.
References CPrintOperation< ValueType, LiteralType, StreamType >::os.
value_type& CPrintOperation< ValueType, LiteralType, StreamType >::operator() | ( | value_type & | val, | |
... | ||||
) | const [inline] |
Print operator.
References CPrintOperation< ValueType, LiteralType, StreamType >::os.
std::ostream& CPrintOperation< ValueType, LiteralType, StreamType >::os [protected] |