← Documentation
ADS-IDAC Engine 5.0.0
xml_lite.hpp File Reference

Minimal XML reader used by the .fta parser: the Element tree, its lookup helpers, and parse() / parseFile(). More...

#include <stdexcept>
#include <string>
#include <vector>
Include dependency graph for xml_lite.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  faulttree::xml::XmlError
 Exception thrown by parse() and parseFile(). More...
 
struct  faulttree::xml::Attribute
 One attribute of an element. More...
 
struct  faulttree::xml::Element
 One XML element with its attributes and child elements. More...
 

Namespaces

namespace  faulttree
 
namespace  faulttree::xml
 

Functions

Element faulttree::xml::parse (const std::string &text)
 
Element faulttree::xml::parseFile (const std::string &path)
 

Detailed Description

Minimal XML reader used by the .fta parser: the Element tree, its lookup helpers, and parse() / parseFile().

This is the lowest layer of the faulttree library. It turns text into a tree of Element values and knows nothing about fault trees; fta_parser.hpp interprets the elements.

Definition in file xml_lite.hpp.