TextFormat.h File Reference

Serialize and deserialize a tagged collection to a text file. More...

#include <wibble/mixin.h>
#include <wibble/empty.h>
#include <wibble/singleton.h>
#include <tagcoll/input/base.h>
#include <stdio.h>

Include dependency graph for TextFormat.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tagcoll
namespace  tagcoll::textformat

Classes

class  tagcoll::textformat::StdioWriter
 TagcollConsumer that serializes its input to an output stream. More...
class  tagcoll::textformat::OstreamWriter
class  tagcoll::textformat::PatchAssembler< OUT >
 Assemble a patch from a stream of "item: +added, -removed" items and tags. More...
class  tagcoll::textformat::PatchBuilder< ITEM, TAG, ITEMSER, TAGSER >

Functions

int tagcoll::textformat::parseElement (input::Input &in, std::string &item)
 Parse an element from input.
template<typename ITEM, typename TAG, typename ITEMSER, typename TAGSER>
void tagcoll::textformat::outputPatch (ITEMSER &itemconv, TAGSER &tagconv, const PatchList< ITEM, TAG > &patch, FILE *out)
 Serialize a patch.
void tagcoll::textformat::outputPatch (const PatchList< std::string, std::string > &patch, FILE *out)
template<typename OUT>
void tagcoll::textformat::parse (input::Input &in, OUT out)
template<typename OUT>
PatchAssembler< OUT > tagcoll::textformat::patchAssembler (const OUT &out)
template<typename OUT>
void tagcoll::textformat::parsePatch (input::Input &in, OUT out)
template<typename ITEM, typename TAG, typename ITEMSER, typename TAGSER>
PatchList< ITEM, TAG > tagcoll::textformat::parsePatch (ITEMSER &itemconv, TAGSER &tagconv, input::Input &in)
 Parse a tagcoll patch.
PatchList< std::string,
std::string > 
tagcoll::textformat::parsePatch (input::Input &in)
template<typename ITEM, typename TAG, typename ITEMSER, typename TAGSER>
PatchBuilder< ITEM, TAG,
ITEMSER, TAGSER > 
tagcoll::textformat::patchBuilder (PatchList< ITEM, TAG > &patch, const ITEMSER &itemconv, const TAGSER &tagconv)


Detailed Description

Serialize and deserialize a tagged collection to a text file.


Generated on Fri Feb 8 10:50:43 2008 for libtagcoll by  doxygen 1.5.4