NorMIT-nav  18.04
An IGT application
Catch::Internal Namespace Reference

Classes

class  Evaluator
 
struct  Evaluator< T1, T2, IsEqualTo >
 
struct  Evaluator< T1, T2, IsGreaterThan >
 
struct  Evaluator< T1, T2, IsGreaterThanOrEqualTo >
 
struct  Evaluator< T1, T2, IsLessThan >
 
struct  Evaluator< T1, T2, IsLessThanOrEqualTo >
 
struct  Evaluator< T1, T2, IsNotEqualTo >
 
struct  OperatorTraits
 
struct  OperatorTraits< IsEqualTo >
 
struct  OperatorTraits< IsGreaterThan >
 
struct  OperatorTraits< IsGreaterThanOrEqualTo >
 
struct  OperatorTraits< IsLessThan >
 
struct  OperatorTraits< IsLessThanOrEqualTo >
 
struct  OperatorTraits< IsNotEqualTo >
 

Enumerations

enum  Operator {
  IsEqualTo, IsNotEqualTo, IsLessThan, IsGreaterThan,
  IsLessThanOrEqualTo, IsGreaterThanOrEqualTo
}
 

Functions

template<typename T >
T & opCast (T const &t)
 
template<Operator Op, typename T1 , typename T2 >
bool applyEvaluator (T1 const &lhs, T2 const &rhs)
 
template<Operator Op, typename T1 , typename T2 >
bool compare (T1 const &lhs, T2 const &rhs)
 
template<Operator Op>
bool compare (unsigned int lhs, int rhs)
 
template<Operator Op>
bool compare (unsigned long lhs, int rhs)
 
template<Operator Op>
bool compare (unsigned char lhs, int rhs)
 
template<Operator Op>
bool compare (unsigned int lhs, long rhs)
 
template<Operator Op>
bool compare (unsigned long lhs, long rhs)
 
template<Operator Op>
bool compare (unsigned char lhs, long rhs)
 
template<Operator Op>
bool compare (int lhs, unsigned int rhs)
 
template<Operator Op>
bool compare (int lhs, unsigned long rhs)
 
template<Operator Op>
bool compare (int lhs, unsigned char rhs)
 
template<Operator Op>
bool compare (long lhs, unsigned int rhs)
 
template<Operator Op>
bool compare (long lhs, unsigned long rhs)
 
template<Operator Op>
bool compare (long lhs, unsigned char rhs)
 
template<Operator Op, typename T >
bool compare (long lhs, T *rhs)
 
template<Operator Op, typename T >
bool compare (T *lhs, long rhs)
 
template<Operator Op, typename T >
bool compare (int lhs, T *rhs)
 
template<Operator Op, typename T >
bool compare (T *lhs, int rhs)
 

Enumeration Type Documentation

Enumerator
IsEqualTo 
IsNotEqualTo 
IsLessThan 
IsGreaterThan 
IsLessThanOrEqualTo 
IsGreaterThanOrEqualTo 

Definition at line 983 of file catch.hpp.

Function Documentation

template<Operator Op, typename T1 , typename T2 >
bool Catch::Internal::applyEvaluator ( T1 const &  lhs,
T2 const &  rhs 
)

Definition at line 1051 of file catch.hpp.

template<Operator Op, typename T1 , typename T2 >
bool Catch::Internal::compare ( T1 const &  lhs,
T2 const &  rhs 
)

Definition at line 1060 of file catch.hpp.

template<Operator Op>
bool Catch::Internal::compare ( unsigned int  lhs,
int  rhs 
)

Definition at line 1065 of file catch.hpp.

template<Operator Op>
bool Catch::Internal::compare ( unsigned long  lhs,
int  rhs 
)

Definition at line 1068 of file catch.hpp.

template<Operator Op>
bool Catch::Internal::compare ( unsigned char  lhs,
int  rhs 
)

Definition at line 1071 of file catch.hpp.

template<Operator Op>
bool Catch::Internal::compare ( unsigned int  lhs,
long  rhs 
)

Definition at line 1076 of file catch.hpp.

template<Operator Op>
bool Catch::Internal::compare ( unsigned long  lhs,
long  rhs 
)

Definition at line 1079 of file catch.hpp.

template<Operator Op>
bool Catch::Internal::compare ( unsigned char  lhs,
long  rhs 
)

Definition at line 1082 of file catch.hpp.

template<Operator Op>
bool Catch::Internal::compare ( int  lhs,
unsigned int  rhs 
)

Definition at line 1087 of file catch.hpp.

template<Operator Op>
bool Catch::Internal::compare ( int  lhs,
unsigned long  rhs 
)

Definition at line 1090 of file catch.hpp.

template<Operator Op>
bool Catch::Internal::compare ( int  lhs,
unsigned char  rhs 
)

Definition at line 1093 of file catch.hpp.

template<Operator Op>
bool Catch::Internal::compare ( long  lhs,
unsigned int  rhs 
)

Definition at line 1098 of file catch.hpp.

template<Operator Op>
bool Catch::Internal::compare ( long  lhs,
unsigned long  rhs 
)

Definition at line 1101 of file catch.hpp.

template<Operator Op>
bool Catch::Internal::compare ( long  lhs,
unsigned char  rhs 
)

Definition at line 1104 of file catch.hpp.

template<Operator Op, typename T >
bool Catch::Internal::compare ( long  lhs,
T *  rhs 
)

Definition at line 1109 of file catch.hpp.

template<Operator Op, typename T >
bool Catch::Internal::compare ( T *  lhs,
long  rhs 
)

Definition at line 1112 of file catch.hpp.

template<Operator Op, typename T >
bool Catch::Internal::compare ( int  lhs,
T *  rhs 
)

Definition at line 1117 of file catch.hpp.

template<Operator Op, typename T >
bool Catch::Internal::compare ( T *  lhs,
int  rhs 
)

Definition at line 1120 of file catch.hpp.

template<typename T >
T& Catch::Internal::opCast ( T const &  t)
inline

Definition at line 1001 of file catch.hpp.