tagcoll::textformat::StdioWriter Class Reference

TagcollConsumer that serializes its input to an output stream. More...

#include <TextFormat.h>

List of all members.

Public Member Functions

 StdioWriter (FILE *out)
template<typename Items, typename Tags>
StdioWriteroperator= (const std::pair< Items, Tags > &data)

Protected Attributes

FILE * out


Detailed Description

TagcollConsumer that serializes its input to an output stream.

The format of the output is: lines of "comma+space"-separated items, followed by "colon+space", followed by the corresponding "comma+space"-separated tags. Examples: ITEM: ITEM: TAG ITEM: TAG1, TAG2, TAG3 ITEM1, ITEM2, ITEM3: ITEM1, ITEM2, ITEM3: TAG1, TAG2, TAG3


Constructor & Destructor Documentation

tagcoll::textformat::StdioWriter::StdioWriter ( FILE *  out  )  [inline]


Member Function Documentation

template<typename Items, typename Tags>
StdioWriter& tagcoll::textformat::StdioWriter::operator= ( const std::pair< Items, Tags > &  data  )  [inline]


Member Data Documentation

FILE* tagcoll::textformat::StdioWriter::out [protected]


The documentation for this class was generated from the following file:
Generated on Fri Feb 8 10:50:45 2008 for libtagcoll by  doxygen 1.5.4