Thyra Version of the Day
Public Member Functions | Public Attributes | Related Functions
Thyra::SolveMeasureType Struct Reference

Solve tolerance type. More...

#include <Thyra_SolveSupportTypes.hpp>

List of all members.

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).
bool operator() (ESolveMeasureNormType numerator_in, ESolveMeasureNormType denominator_in) const
 Return if (numerator,denominataor) matches this.
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.

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 112 of file Thyra_SolveSupportTypes.hpp.


Constructor & Destructor Documentation

Thyra::SolveMeasureType::SolveMeasureType ( ) [inline]

Definition at line 118 of file Thyra_SolveSupportTypes.hpp.

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

Definition at line 122 of file Thyra_SolveSupportTypes.hpp.


Member Function Documentation

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

Definition at line 126 of file Thyra_SolveSupportTypes.hpp.

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

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

Definition at line 131 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 134 of file Thyra_SolveSupportTypes.hpp.

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

Return if single measure matches numerator or denominator.

Definition at line 139 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 149 of file Thyra_SolveSupportTypes.hpp.


Member Data Documentation

Definition at line 114 of file Thyra_SolveSupportTypes.hpp.

Definition at line 116 of file Thyra_SolveSupportTypes.hpp.


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