AMLReader is used to construct the appropriate UAP tree from an AML file.
More...
#include <AMLReader.hpp>
Public Member Functions | |
| AMLReader () | |
| Creates an AML reader. | |
| ~AMLReader () | |
| Destructor. | |
| UAPNode * | AMLFileToAMLRep (const std::string &file_name) |
| Reads in an AML file (or files if there are include statements) and constructs the appropriate UAP tree. | |
| UAPNode * | AMLRepToAMLFile (UAPNode *root_node, const std::string &file_name="", bool one_file=false) |
| Creates a AML file (or files if there are include statements) from an AML_representation tree. | |
AMLReader is used to construct the appropriate UAP tree from an AML file.
Definition at line 44 of file AMLReader.hpp.
| UAPNode * AMLReader::AMLFileToAMLRep | ( | const std::string & | file_name | ) |
Reads in an AML file (or files if there are include statements) and constructs the appropriate UAP tree.
The constructed UAP tree has the root <UAPRoot> which in turn has the child node <AML_representation>. The sub-tree of <AML_representation> contains the information from the input file.
| file_name | The AML file to read in. |
Definition at line 35 of file AMLReader.cpp.
| UAPNode * AMLReader::AMLRepToAMLFile | ( | UAPNode * | root_node, | |
| const std::string & | file_name = "", |
|||
| bool | one_file = false | |||
| ) |
Creates a AML file (or files if there are include statements) from an AML_representation tree.
| root_node | May be a <AML_representation> node or a <UAP_root> node. | |
| file_name | The root AML file to create. If not present or "" then the original file name will be used. | |
| one_file | If true then concatinate everything into one file. Default is false. |
Definition at line 112 of file AMLReader.cpp.
1.5.7