|
ADS-IDAC Engine 5.0.0
|
Reader that turns a GeNIe/SMILE .fta fault tree document into a validated faulttree::FaultTree.
More...
Go to the source code of this file.
Namespaces | |
| namespace | faulttree |
Functions | |
| FaultTree | faulttree::parseFtaString (const std::string &text) |
Parses .fta content held in memory. More... | |
| FaultTree | faulttree::parseFtaFile (const std::string &path) |
Parses a .fta file from disk. More... | |
Reader that turns a GeNIe/SMILE .fta fault tree document into a validated faulttree::FaultTree.
The reader sits between the XML layer (xml_lite.hpp) and the model (fault_tree.hpp): it walks the parsed <ftaDiagram> element, maps the .fta type codes to GateType values, shares nodes that repeat by name, and returns a tree that has passed FaultTree::validate().
Definition in file fta_parser.hpp.