ViennaCL - The Vienna Computing Library  1.2.0
Public Member Functions | Data Fields
parameter_database Struct Reference

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

Detailed Description

A XML parameter database using PugiXML. Allows to add tests for different devices and the like.

Constructor & Destructor Documentation

parameter_database ( )
inline

Member Function Documentation

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

Field Documentation

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

The documentation for this struct was generated from the following file: