A XML parameter database using PugiXML. Allows to add tests for different devices and the like. More...
#include <kernel_parameters.hpp>
Public Member Functions | |
parameter_database () | |
void | add_device () |
void | add_test () |
void | add_kernel () |
void | add_parameter () |
template<typename ValueT > | |
void | add_data_node (std::string tagstr, ValueT data) |
void | add_data_node (std::string tagstr, std::string data) |
void | load (std::string filename) |
void | dump (std::string filename) |
void | dump (std::ostream &stream=std::cout) |
Data Fields | |
pugi::xml_document | doc |
pugi::xml_node | root |
pugi::xml_node | devices |
pugi::xml_node | tests |
pugi::xml_node | kernels |
pugi::xml_node | parameters |
pugi::xml_node | last |
bool | devices_open |
bool | tests_open |
bool | kernels_open |
bool | parameters_open |
A XML parameter database using PugiXML. Allows to add tests for different devices and the like.
parameter_database | ( | ) | [inline] |
void add_data_node | ( | std::string | tagstr, | |
ValueT | data | |||
) | [inline] |
void add_data_node | ( | std::string | tagstr, | |
std::string | data | |||
) | [inline] |
void add_device | ( | ) | [inline] |
void add_kernel | ( | ) | [inline] |
void add_parameter | ( | ) | [inline] |
void add_test | ( | ) | [inline] |
void dump | ( | std::string | filename | ) | [inline] |
void dump | ( | std::ostream & | stream = std::cout |
) | [inline] |
void load | ( | std::string | filename | ) | [inline] |
pugi::xml_node devices |
bool devices_open |
pugi::xml_document doc |
pugi::xml_node kernels |
bool kernels_open |
pugi::xml_node last |
pugi::xml_node parameters |
bool parameters_open |
pugi::xml_node root |
pugi::xml_node tests |
bool tests_open |