Classes | |
class | StdioWriter |
TagcollConsumer that serializes its input to an output stream. More... | |
class | OstreamWriter |
class | PatchAssembler |
Assemble a patch from a stream of "item: +added, -removed" items and tags. More... | |
class | PatchBuilder |
Functions | |
int | parseElement (input::Input &in, string &item) |
void | outputPatch (const PatchList< std::string, std::string > &patch, FILE *out) |
PatchList< std::string, std::string > | parsePatch (input::Input &in) |
int | parseElement (input::Input &in, std::string &item) |
Parse an element from input. | |
template<typename ITEM, typename TAG, typename ITEMSER, typename TAGSER> | |
void | outputPatch (ITEMSER &itemconv, TAGSER &tagconv, const PatchList< ITEM, TAG > &patch, FILE *out) |
Serialize a patch. | |
template<typename OUT> | |
void | parse (input::Input &in, OUT out) |
template<typename OUT> | |
PatchAssembler< OUT > | patchAssembler (const OUT &out) |
template<typename OUT> | |
void | parsePatch (input::Input &in, OUT out) |
template<typename ITEM, typename TAG, typename ITEMSER, typename TAGSER> | |
PatchList< ITEM, TAG > | parsePatch (ITEMSER &itemconv, TAGSER &tagconv, input::Input &in) |
Parse a tagcoll patch. | |
template<typename ITEM, typename TAG, typename ITEMSER, typename TAGSER> | |
PatchBuilder< ITEM, TAG, ITEMSER, TAGSER > | patchBuilder (PatchList< ITEM, TAG > &patch, const ITEMSER &itemconv, const TAGSER &tagconv) |
void tagcoll::textformat::outputPatch | ( | ITEMSER & | itemconv, | |
TAGSER & | tagconv, | |||
const PatchList< ITEM, TAG > & | patch, | |||
FILE * | out | |||
) | [inline] |
Serialize a patch.
void tagcoll::textformat::outputPatch | ( | const PatchList< std::string, std::string > & | patch, | |
FILE * | out | |||
) |
void tagcoll::textformat::parse | ( | input::Input & | in, | |
OUT | out | |||
) | [inline] |
int tagcoll::textformat::parseElement | ( | input::Input & | in, | |
std::string & | item | |||
) |
Parse an element from input.
item | The item found on input |
int tagcoll::textformat::parseElement | ( | input::Input & | in, | |
string & | item | |||
) |
PatchList<ITEM, TAG> tagcoll::textformat::parsePatch | ( | ITEMSER & | itemconv, | |
TAGSER & | tagconv, | |||
input::Input & | in | |||
) | [inline] |
Parse a tagcoll patch.
void tagcoll::textformat::parsePatch | ( | input::Input & | in, | |
OUT | out | |||
) | [inline] |
PatchList< std::string, std::string > tagcoll::textformat::parsePatch | ( | input::Input & | in | ) |
PatchAssembler<OUT> tagcoll::textformat::patchAssembler | ( | const OUT & | out | ) | [inline] |
PatchBuilder<ITEM, TAG, ITEMSER, TAGSER> tagcoll::textformat::patchBuilder | ( | PatchList< ITEM, TAG > & | patch, | |
const ITEMSER & | itemconv, | |||
const TAGSER & | tagconv | |||
) | [inline] |