PandA-2024.02
|
This class collects information about generic data. More...
#include <data_xml_parser.hpp>
Public Member Functions | |
DataXmlParser (const ParameterConstRef ¶meters) | |
Constructor. More... | |
~DataXmlParser () | |
Destructor. More... | |
void | Parse (const CustomSet< std::string > &file_names, std::map< std::string, CustomMap< std::string, std::string >> &output) const |
Parse xml file. More... | |
Private Attributes | |
const ParameterConstRef | parameters |
The set of input paraemeters. More... | |
const int | debug_level |
The debug level. More... | |
This class collects information about generic data.
Definition at line 58 of file data_xml_parser.hpp.
|
explicit |
Constructor.
Header include.
parameters | is the set of input parameters |
Parameter include Constants includes Utility include XML include
Definition at line 63 of file data_xml_parser.cpp.
References ~DataXmlParser().
|
default |
void DataXmlParser::Parse | ( | const CustomSet< std::string > & | file_names, |
std::map< std::string, CustomMap< std::string, std::string >> & | output | ||
) | const |
Parse xml file.
file_names | is the input file |
output | is where data will be saved: first key is the benchmark name (sorted by name thanks to map), second key is the characteristic, value is the actual value |
Definition at line 70 of file data_xml_parser.cpp.
References test_panda::benchmark_name, CE_XVM, XMLDomParser::Exec(), attribute_sequence::get_attribute(), xml_child::get_children(), XMLDomParser::get_document(), xml_node::get_name(), xml_attribute::get_value(), GetPath(), output, test_panda::parser, STR_XML_data_xml_benchmark_name, STR_XML_data_xml_value, STR_XML_experimental_setup_root, STR_XML_latex_table_root, THROW_ERROR, and symmetry::value.
|
private |
The debug level.
Definition at line 65 of file data_xml_parser.hpp.
|
private |
The set of input paraemeters.
Definition at line 62 of file data_xml_parser.hpp.