libcollection 0.6.2
Loading...
Searching...
No Matches
Macros
Comparison results flags

Macros

#define COL_CMPOUT_PROP_STR   0x00000001
 Second item's property is greater.
 
#define COL_CMPOUT_PROP_LEN   0x00000002
 Second item's property is longer.
 
#define COL_CMPOUT_DATA_LEN   0x00000004
 Second item's data is longer.
 
#define COL_CMPOUT_DATA   0x00000008
 Second item's data is greater.
 

Detailed Description

This section describes the flags set as a result of a comparison operation.

Macro Definition Documentation

◆ COL_CMPOUT_PROP_STR

#define COL_CMPOUT_PROP_STR   0x00000001

Second item's property is greater.

If _EQU was specified and the property of the second item is greater the following bit will be set

◆ COL_CMPOUT_PROP_LEN

#define COL_CMPOUT_PROP_LEN   0x00000002

Second item's property is longer.

If told to compare property lengths and the second is longer this bit will be set.

◆ COL_CMPOUT_DATA_LEN

#define COL_CMPOUT_DATA_LEN   0x00000004

Second item's data is longer.

If told to compare data lengths and second is longer this bit will be set

◆ COL_CMPOUT_DATA

#define COL_CMPOUT_DATA   0x00000008

Second item's data is greater.

If told to compare data and types are the same, then if the second one is greater this bit will be set. If data is binary flag is never set.