Rudiments
Public Member Functions | List of all members
dictionarypaircomparator< keytype, valuetype > Class Template Reference

Inherits comparator.

Public Member Functions

int32_t compare (object *value1, object *value2)
 
- Public Member Functions inherited from comparator
 comparator ()
 
virtual ~comparator ()
 
void setReverse (bool reverse)
 
bool getReverse ()
 
void setNatural (bool natural)
 
bool getNatural ()
 
void setNumberDelimiters (const char *delimiters)
 
const chargetNumberDelimiters ()
 
void setWideNumberDelimiters (const wchar_t *delimiters)
 
const wchar_tgetWideNumberDelimiters ()
 
virtual int32_t compare (char *value1, char *value2)
 
virtual int32_t compare (const char *value1, const char *value2)
 
virtual int32_t compare (wchar_t *value1, wchar_t *value2)
 
virtual int32_t compare (const wchar_t *value1, const wchar_t *value2)
 
virtual int32_t compare (byte_t *value1, byte_t *value2)
 
virtual int32_t compare (const byte_t *value1, const byte_t *value2)
 
virtual int32_t compare (char value1, char value2)
 
virtual int32_t compare (bool value1, bool value2)
 
virtual int32_t compare (int16_t value1, int16_t value2)
 
virtual int32_t compare (int32_t value1, int32_t value2)
 
virtual int32_t compare (int64_t value1, int64_t value2)
 
virtual int32_t compare (byte_t value1, byte_t value2)
 
virtual int32_t compare (uint16_t value1, uint16_t value2)
 
virtual int32_t compare (uint32_t value1, uint32_t value2)
 
virtual int32_t compare (uint64_t value1, uint64_t value2)
 
virtual int32_t compare (float value1, float value2)
 
virtual int32_t compare (double value1, double value2)
 
virtual int32_t compare (long double value1, long double value2)
 
virtual int32_t compare (void *value1, void *value2)
 

Member Function Documentation

◆ compare()

template<class keytype , class valuetype >
int32_t dictionarypaircomparator< keytype, valuetype >::compare ( object * value1,
object * value2 )
inlinevirtual

Returns an integer less than, equal to, or greater than 0 if value1 is, respectively, less than, equal to, or greater than value2.

Reimplemented from comparator.