Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Teuchos::XMLTestNode Class Reference

Subclass of XMLObject used by the performance archive. More...

#include <Teuchos_XMLPerfTestArchive.hpp>

Inheritance diagram for Teuchos::XMLTestNode:
Teuchos::XMLObject

List of all members.

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.

Detailed Description

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.


Member Function Documentation

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.

template<class T >
void Teuchos::XMLTestNode::addAttribute ( const std::string &  name,
value 
) [inline]

Lookup whether or not Doubles are allowed.

Reimplemented from Teuchos::XMLObject.

Definition at line 172 of file Teuchos_XMLPerfTestArchive.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines