libvata2  [unstable] git snapshot
Classes | Namespaces | Typedefs | Functions
parser.hh File Reference
#include <cassert>
#include <list>
#include <map>
#include <ostream>
#include <string>
#include <vector>
#include <vata2/util.hh>

Go to the source code of this file.

Classes

struct  ParsedSection
 Parsed data (single section) More...
 

Namespaces

 Vata2
 
 Vata2::Parser
 

Typedefs

using KeyListStore = std::map< std::string, std::vector< std::string >>
 
using BodyLine = std::vector< std::string >
 
using Parsed = std::vector< ParsedSection >
 Parsed data. More...
 

Functions

Parsed parse_vtf (const std::string &input)
 Parses a string into an intermediary structure. More...
 
Parsed parse_vtf (std::istream &input)
 Parses a stream into an intermediary structure. More...
 
ParsedSection parse_vtf_section (std::istream &input)
 Parses one section from a stream into an intermediary structure. More...
 
ParsedSection parse_vtf_section (const std::string &input)
 Parses one section from a string into an intermediary structure. More...
 
void init ()
 registers dispatcher More...