|
Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Subclass of XMLObject used by the performance archive. More...
#include <Teuchos_XMLPerfTestArchive.hpp>

Public Member Functions | |
| XMLTestNode () | |
| XMLTestNode (const std::string &tag) | |
| XMLTestNode (XMLObjectImplem *ptr) | |
| XMLTestNode (XMLObject obj) | |
| 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. | |
| void | addValueTolerance (const std::string &name, ValueTolerance val) |
| void | addString (const std::string &name, std::string val) |
| template<class T > | |
| void | addAttribute (const std::string &name, T val) |
| Lookup whether or not Doubles are allowed. | |
| bool | hasChild (const std::string &name) const |
| void | appendContentLine (const size_t &i, const std::string &str) |
| XMLTestNode | getChild (const std::string &name) const |
| XMLTestNode | getChild (const int &i) const |
| const XMLObject * | xml_object () const |
| bool | hasSameElements (XMLTestNode const &lhs) const |
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.
Definition at line 120 of file Teuchos_XMLPerfTestArchive.cpp.
| Teuchos::XMLTestNode::XMLTestNode | ( | const std::string & | tag | ) |
Definition at line 122 of file Teuchos_XMLPerfTestArchive.cpp.
Definition at line 124 of file Teuchos_XMLPerfTestArchive.cpp.
Definition at line 126 of file Teuchos_XMLPerfTestArchive.cpp.
| 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::addValueTolerance | ( | const std::string & | name, |
| ValueTolerance | val | ||
| ) |
Definition at line 140 of file Teuchos_XMLPerfTestArchive.cpp.
| void Teuchos::XMLTestNode::addString | ( | const std::string & | name, |
| std::string | val | ||
| ) |
Definition at line 144 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.
| bool Teuchos::XMLTestNode::hasChild | ( | const std::string & | name | ) | const |
Definition at line 148 of file Teuchos_XMLPerfTestArchive.cpp.
| void Teuchos::XMLTestNode::appendContentLine | ( | const size_t & | i, |
| const std::string & | str | ||
| ) |
Reimplemented from Teuchos::XMLObject.
Definition at line 159 of file Teuchos_XMLPerfTestArchive.cpp.
| XMLTestNode Teuchos::XMLTestNode::getChild | ( | const std::string & | name | ) | const |
Definition at line 163 of file Teuchos_XMLPerfTestArchive.cpp.
| XMLTestNode Teuchos::XMLTestNode::getChild | ( | const int & | i | ) | const |
Definition at line 172 of file Teuchos_XMLPerfTestArchive.cpp.
| const XMLObject * Teuchos::XMLTestNode::xml_object | ( | ) | const |
Definition at line 176 of file Teuchos_XMLPerfTestArchive.cpp.
| bool Teuchos::XMLTestNode::hasSameElements | ( | XMLTestNode const & | lhs | ) | const |
Definition at line 180 of file Teuchos_XMLPerfTestArchive.cpp.
1.7.6.1