Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
Teuchos::ValueTolerance Struct Reference

ValueTolerance is a struct to keep a tuple of value and a tolerance. The tolerance can be either expressed as a relative or through an upper and lower bound. More...

#include <Teuchos_XMLPerfTestArchive.hpp>

List of all members.

Public Member Functions

 ValueTolerance ()
 ValueTolerance (double val, double tol)
 ValueTolerance (double val, double low, double up)
 ValueTolerance (std::string str)
bool operator== (ValueTolerance &rhs)
std::string as_string ()
void from_string (const std::string &valtol_str)

Public Attributes

double value
double lower
double upper
double tolerance
bool use_tolerance

Detailed Description

ValueTolerance is a struct to keep a tuple of value and a tolerance. The tolerance can be either expressed as a relative or through an upper and lower bound.

Definition at line 131 of file Teuchos_XMLPerfTestArchive.hpp.


Constructor & Destructor Documentation

Definition at line 59 of file Teuchos_XMLPerfTestArchive.cpp.

Teuchos::ValueTolerance::ValueTolerance ( double  val,
double  tol 
)

Definition at line 67 of file Teuchos_XMLPerfTestArchive.cpp.

Teuchos::ValueTolerance::ValueTolerance ( double  val,
double  low,
double  up 
)

Definition at line 75 of file Teuchos_XMLPerfTestArchive.cpp.

Definition at line 83 of file Teuchos_XMLPerfTestArchive.cpp.


Member Function Documentation

bool Teuchos::ValueTolerance::operator== ( ValueTolerance rhs)

Definition at line 87 of file Teuchos_XMLPerfTestArchive.cpp.

Definition at line 95 of file Teuchos_XMLPerfTestArchive.cpp.

void Teuchos::ValueTolerance::from_string ( const std::string &  valtol_str)

Definition at line 104 of file Teuchos_XMLPerfTestArchive.cpp.


Member Data Documentation

Definition at line 132 of file Teuchos_XMLPerfTestArchive.hpp.

Definition at line 133 of file Teuchos_XMLPerfTestArchive.hpp.

Definition at line 134 of file Teuchos_XMLPerfTestArchive.hpp.

Definition at line 135 of file Teuchos_XMLPerfTestArchive.hpp.

Definition at line 136 of file Teuchos_XMLPerfTestArchive.hpp.


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