|
Teuchos - Trilinos Tools Package
Version of the Day
|
Subclass of XMLObject used by the performance archive. More...
#include <Teuchos_XMLPerfTestArchive.hpp>
Public Member Functions | |
| void | addDouble (const std::string &name, double val) |
| Add a double as an attribute. | |
| void | addInt (const std::string &name, int val) |
| Add an int as an attribute. | |
| void | addBool (const std::string &name, bool val) |
| Add a bool as an attribute. | |
| template<class T > | |
| void | addAttribute (const std::string &name, T val) |
| Lookup whether or not Doubles are allowed. | |
Subclass of XMLObject used by the performance archive.
This subclass of XMLObject generates an XML list in a style more suitable for a performance test archive. It also provides a number of convenience functions helpful for working with a test archive.
Definition at line 159 of file Teuchos_XMLPerfTestArchive.hpp.
| void Teuchos::XMLTestNode::addDouble | ( | const std::string & | name, |
| double | val | ||
| ) |
Add a double as an attribute.
Reimplemented from Teuchos::XMLObject.
Definition at line 128 of file Teuchos_XMLPerfTestArchive.cpp.
| void Teuchos::XMLTestNode::addInt | ( | const std::string & | name, |
| int | val | ||
| ) |
Add an int as an attribute.
Reimplemented from Teuchos::XMLObject.
Definition at line 132 of file Teuchos_XMLPerfTestArchive.cpp.
| void Teuchos::XMLTestNode::addBool | ( | const std::string & | name, |
| bool | val | ||
| ) |
Add a bool as an attribute.
Reimplemented from Teuchos::XMLObject.
Definition at line 136 of file Teuchos_XMLPerfTestArchive.cpp.
| void Teuchos::XMLTestNode::addAttribute | ( | const std::string & | name, |
| T | value | ||
| ) | [inline] |
Lookup whether or not Doubles are allowed.
Reimplemented from Teuchos::XMLObject.
Definition at line 172 of file Teuchos_XMLPerfTestArchive.hpp.
1.7.6.1