PandA-2024.02
Public Member Functions | Private Attributes
DataXmlParser Class Reference

This class collects information about generic data. More...

#include <data_xml_parser.hpp>

Collaboration diagram for DataXmlParser:
Collaboration graph
[legend]

Public Member Functions

 DataXmlParser (const ParameterConstRef &parameters)
 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...
 

Detailed Description

This class collects information about generic data.

Definition at line 58 of file data_xml_parser.hpp.

Constructor & Destructor Documentation

◆ DataXmlParser()

DataXmlParser::DataXmlParser ( const ParameterConstRef Param)
explicit

Constructor.

Header include.

Parameters
parametersis 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().

Here is the call graph for this function:

◆ ~DataXmlParser()

DataXmlParser::~DataXmlParser ( )
default

Destructor.

Referenced by DataXmlParser().

Here is the caller graph for this function:

Member Function Documentation

◆ Parse()

void DataXmlParser::Parse ( const CustomSet< std::string > &  file_names,
std::map< std::string, CustomMap< std::string, std::string >> &  output 
) const

Parse xml file.

Parameters
file_namesis the input file
outputis 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.

Here is the call graph for this function:

Field Documentation

◆ debug_level

const int DataXmlParser::debug_level
private

The debug level.

Definition at line 65 of file data_xml_parser.hpp.

◆ parameters

const ParameterConstRef DataXmlParser::parameters
private

The set of input paraemeters.

Definition at line 62 of file data_xml_parser.hpp.


The documentation for this class was generated from the following files:

Generated on Mon Feb 12 2024 13:03:49 for PandA-2024.02 by doxygen 1.8.13