wibble::str::YamlStream Class Reference

#include <string.h>

List of all members.


Detailed Description

Parse a record of Yaml-style field: value couples.

Parsing stops either at end of record (one empty line) or at end of file.

The value is deindented properly.

Example code:

    utils::YamlStream stream;
    map<string, string> record;
    std::copy(stream.begin(inputstream), stream.end(), inserter(record));

Public Member Functions

const_iterator begin (std::istream &in)
const_iterator end ()

Classes

class  const_iterator

Member Function Documentation

const_iterator wibble::str::YamlStream::begin ( std::istream &  in  )  [inline]

const_iterator wibble::str::YamlStream::end (  )  [inline]


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

Generated on Wed Jun 18 15:19:17 2008 for wibble by  doxygen 1.5.6