CellModules
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

◆ Operator

Enumerator
IsEqualTo 
IsNotEqualTo 
IsLessThan 
IsGreaterThan 
IsLessThanOrEqualTo 
IsGreaterThanOrEqualTo 

Definition at line 853 of file catch.hpp.

Function Documentation

◆ applyEvaluator()

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

Definition at line 921 of file catch.hpp.

◆ compare() [1/17]

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

Definition at line 987 of file catch.hpp.

◆ compare() [2/17]

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

Definition at line 963 of file catch.hpp.

◆ compare() [3/17]

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

Definition at line 957 of file catch.hpp.

◆ compare() [4/17]

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

Definition at line 960 of file catch.hpp.

◆ compare() [5/17]

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

Definition at line 979 of file catch.hpp.

◆ compare() [6/17]

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

Definition at line 974 of file catch.hpp.

◆ compare() [7/17]

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

Definition at line 968 of file catch.hpp.

◆ compare() [8/17]

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

Definition at line 971 of file catch.hpp.

◆ compare() [9/17]

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

Definition at line 990 of file catch.hpp.

◆ compare() [10/17]

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

Definition at line 982 of file catch.hpp.

◆ compare() [11/17]

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

Definition at line 930 of file catch.hpp.

◆ compare() [12/17]

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

Definition at line 941 of file catch.hpp.

◆ compare() [13/17]

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

Definition at line 952 of file catch.hpp.

◆ compare() [14/17]

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

Definition at line 935 of file catch.hpp.

◆ compare() [15/17]

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

Definition at line 946 of file catch.hpp.

◆ compare() [16/17]

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

Definition at line 938 of file catch.hpp.

◆ compare() [17/17]

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

Definition at line 949 of file catch.hpp.

◆ opCast()

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

Definition at line 871 of file catch.hpp.