Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

format_output_iterator Class Template Reference

#include <fastformat/iterators/format_iterator.hpp>

List of all members.


Detailed Description

template<typename S, typename F, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8>
class fastformat::iterators::format_output_iterator< S, F, A1, A2, A3, A4, A5, A6, A7, A8 >

This class template defines an output iterator that writes to a given sink using fastformat::fmt().

For examples of usage, see the fastformat::format_iterator() creator function.

Public Types

typedef format_output_iterator
< S, F, A1, A2, A3, A4, A5, A6,
A7, A8 > 
class_type
 This type.
typedef S sink_type
 The sink type.
typedef F format_type
 The format type.

Public Member Functions

 format_output_iterator (sink_type &sink, format_type const &format)
 Constructor.
 format_output_iterator (sink_type &sink, format_type const &format, unsigned n, A1 const &arg1, A2 const &arg2=impl::no_arg_t(), A3 const &arg3=impl::no_arg_t(), A4 const &arg4=impl::no_arg_t(), A5 const &arg5=impl::no_arg_t(), A6 const &arg6=impl::no_arg_t(), A7 const &arg7=impl::no_arg_t(), A8 const &arg8=impl::no_arg_t())
 Constructor taking 1-8 additional format parameters.
deref_proxy operator* ()
 Dereference operator.
class_typeoperator++ ()
 Pre-increment operator.
class_typeoperator++ (int)
 Post-increment operator.

Classes

class  deref_proxy
 Dereference Proxy for fastformat::iterators::format_output_iterator


Member Typedef Documentation

typedef format_output_iterator<S, F, A1, A2, A3, A4, A5, A6, A7, A8> class_type

This type.

typedef S sink_type

The sink type.

typedef F format_type

The format type.


Constructor & Destructor Documentation

format_output_iterator ( sink_type sink,
format_type const &  format 
) [inline]

Constructor.

format_output_iterator ( sink_type sink,
format_type const &  format,
unsigned  n,
A1 const &  arg1,
A2 const &  arg2 = impl::no_arg_t(),
A3 const &  arg3 = impl::no_arg_t(),
A4 const &  arg4 = impl::no_arg_t(),
A5 const &  arg5 = impl::no_arg_t(),
A6 const &  arg6 = impl::no_arg_t(),
A7 const &  arg7 = impl::no_arg_t(),
A8 const &  arg8 = impl::no_arg_t() 
) [inline]

Constructor taking 1-8 additional format parameters.


Member Function Documentation

deref_proxy operator* (  )  [inline]

Dereference operator.

class_type& operator++ (  )  [inline]

Pre-increment operator.

class_type& operator++ ( int   )  [inline]

Post-increment operator.


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

FastFormat Library documentation © Matthew Wilson, 2006-2009 SourceForge.net Logo