NCBI C++ ToolKit
Static Public Member Functions | Private Types | List of all members
CCompareValues< T, R > Class Template Reference

Search Toolkit Book for CCompareValues

Static Public Member Functions

static bool IsEqualInt (const T &first, const T &second, TIsSetFn is_set_fn, TGetIntFn get_fn, int not_set)
 
static bool IsEqualVal (const T &first, const T &second, TIsSetFn is_set_fn, TGetRFn get_fn, const R &empty_val)
 

Private Types

typedef bool(T::* TIsSetFn) () const
 
typedef int(T::* TGetIntFn) () const
 
typedef const R &(T::* TGetRFn) () const
 

Detailed Description

template<class T, typename R>
class CCompareValues< T, R >

Definition at line 1050 of file biosource_tests.cpp.

Member Typedef Documentation

◆ TGetIntFn

template<class T , typename R >
typedef int(T::* CCompareValues< T, R >::TGetIntFn) () const
private

Definition at line 1053 of file biosource_tests.cpp.

◆ TGetRFn

template<class T , typename R >
typedef const R&(T::* CCompareValues< T, R >::TGetRFn) () const
private

Definition at line 1054 of file biosource_tests.cpp.

◆ TIsSetFn

template<class T , typename R >
typedef bool(T::* CCompareValues< T, R >::TIsSetFn) () const
private

Definition at line 1052 of file biosource_tests.cpp.

Member Function Documentation

◆ IsEqualInt()

template<class T , typename R >
static bool CCompareValues< T, R >::IsEqualInt ( const T first,
const T second,
TIsSetFn  is_set_fn,
TGetIntFn  get_fn,
int  not_set 
)
inlinestatic

Definition at line 1057 of file biosource_tests.cpp.

References first().

◆ IsEqualVal()

template<class T , typename R >
static bool CCompareValues< T, R >::IsEqualVal ( const T first,
const T second,
TIsSetFn  is_set_fn,
TGetRFn  get_fn,
const R empty_val 
)
inlinestatic

Definition at line 1065 of file biosource_tests.cpp.

References first().


The documentation for this class was generated from the following file:
Modified on Fri Feb 23 11:50:44 2024 by modify_doxy.py rev. 669887