VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
TdTestAssignUtil Class Reference

Public Member Functions

 TdTestAssignUtil (float tol=-1.0, double dTol=-1.0)
 
void operator() (float &oldVal, const float &newVal)
 
bool test (const float &oldVal, const float &newVal)
 
void operator() (double &oldVal, const double &newVal)
 
bool test (const double &oldVal, const double &newVal)
 
template<class _T >
void operator() (_T &oldVal, const _T &newVal)
 
template<class _T >
bool test (const _T &oldVal, const _T &newVal)
 
bool changed () const
 
void reset ()
 

Protected Attributes

bool myChanged
 
float mTol
 
double mDTol
 

Constructor & Destructor Documentation

TdTestAssignUtil::TdTestAssignUtil ( float  tol = -1.0,
double  dTol = -1.0 
)
inline

References mDTol, mTol, and myChanged.

Member Function Documentation

void TdTestAssignUtil::operator() ( float &  oldVal,
const float &  newVal 
)
inline

References mTol, and myChanged.

bool TdTestAssignUtil::test ( const float &  oldVal,
const float &  newVal 
)
inline

References mTol, and myChanged.

void TdTestAssignUtil::operator() ( double oldVal,
const double newVal 
)
inline

References mDTol, and myChanged.

bool TdTestAssignUtil::test ( const double oldVal,
const double newVal 
)
inline

References mDTol, and myChanged.

template<class _T >
void TdTestAssignUtil::operator() ( _T &  oldVal,
const _T &  newVal 
)
inline

References myChanged.

template<class _T >
bool TdTestAssignUtil::test ( const _T &  oldVal,
const _T &  newVal 
)
inline

References myChanged.

bool TdTestAssignUtil::changed ( ) const
inline

References myChanged.

void TdTestAssignUtil::reset ( )
inline

References myChanged.

Member Data Documentation

bool TdTestAssignUtil::myChanged
protected
float TdTestAssignUtil::mTol
protected

Referenced by operator()(), TdTestAssignUtil(), and test().

double TdTestAssignUtil::mDTol
protected

Referenced by operator()(), TdTestAssignUtil(), and test().


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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)