Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Related Functions | List of all members
Thyra::SolveMeasureType Struct Reference

Solve tolerance type. More...

#include <Thyra_SolveSupportTypes.hpp>

Public Member Functions

 SolveMeasureType ()
 
 SolveMeasureType (ESolveMeasureNormType _numerator, ESolveMeasureNormType _denominator)
 
void set (ESolveMeasureNormType _numerator, ESolveMeasureNormType _denominator)
 
bool useDefault () const
 Return if this is a default solve measure (default constructed). More...
 
bool operator() (ESolveMeasureNormType numerator_in, ESolveMeasureNormType denominator_in) const
 Return if (numerator,denominataor) matches this. More...
 
bool contains (ESolveMeasureNormType measure) const
 

Public Attributes

ESolveMeasureNormType numerator
 
ESolveMeasureNormType denominator
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &out, const SolveMeasureType &solveMeasureType)
 Output operator. More...
 

Detailed Description

Solve tolerance type.

This represents the solve tolerance measure of the form:

(numerator)/(denominator)

Note that numerator==SOLVE_MEASURE_ONE&&denominator==SOLVE_MEASURE_ONE (i.e. 1/1) means that there is no solve measure type specified.

Definition at line 80 of file Thyra_SolveSupportTypes.hpp.

Constructor & Destructor Documentation

Thyra::SolveMeasureType::SolveMeasureType ( )
inline

Definition at line 86 of file Thyra_SolveSupportTypes.hpp.

Thyra::SolveMeasureType::SolveMeasureType ( ESolveMeasureNormType  _numerator,
ESolveMeasureNormType  _denominator 
)
inline

Definition at line 90 of file Thyra_SolveSupportTypes.hpp.

Member Function Documentation

void Thyra::SolveMeasureType::set ( ESolveMeasureNormType  _numerator,
ESolveMeasureNormType  _denominator 
)
inline

Definition at line 94 of file Thyra_SolveSupportTypes.hpp.

bool Thyra::SolveMeasureType::useDefault ( ) const
inline

Return if this is a default solve measure (default constructed).

Definition at line 99 of file Thyra_SolveSupportTypes.hpp.

bool Thyra::SolveMeasureType::operator() ( ESolveMeasureNormType  numerator_in,
ESolveMeasureNormType  denominator_in 
) const
inline

Return if (numerator,denominataor) matches this.

Definition at line 102 of file Thyra_SolveSupportTypes.hpp.

bool Thyra::SolveMeasureType::contains ( ESolveMeasureNormType  measure) const
inline

Return if single measure matches numerator or denominator.

Definition at line 107 of file Thyra_SolveSupportTypes.hpp.

Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  out,
const SolveMeasureType solveMeasureType 
)
related

Output operator.

Definition at line 117 of file Thyra_SolveSupportTypes.hpp.

Member Data Documentation

ESolveMeasureNormType Thyra::SolveMeasureType::numerator

Definition at line 82 of file Thyra_SolveSupportTypes.hpp.

ESolveMeasureNormType Thyra::SolveMeasureType::denominator

Definition at line 84 of file Thyra_SolveSupportTypes.hpp.


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