General purpose line comparator.
More...
|
enum | CRes { C_LT =0,
C_EQ =1,
C_GT =2
} |
|
typedef CRes(* | Ord_t )(rowpair &rp) |
|
|
| cmp_tokens () |
| Constructor.
|
|
void | set_commentsfirst (const bool b) |
| Treat comment lines specially.
|
|
cmp_tokens & | add_key (const size_t column, const Ord_t o, const bool reverse) |
| Add a column.
|
|
const std::set< size_t > & | get_columns () const |
|
const std::vector< size_t > & | get_columnsv () const |
|
bool | operator() (const char *const c0, const char *const c1) |
| Comparison operator for C strings.
|
|
bool | operator() (const std::string &s0, const std::string &s1) |
| Comparison operator for std::string.
|
|
|
static CRes | c_ign (rowpair &rp) |
| Do not compare, but advance to the next column.
|
|
static CRes | c_text (rowpair &rp) |
| Compare text.
|
|
static CRes | c_uint (rowpair &rp) |
| Compare unsigned integers.
|
|
static CRes | c_int (rowpair &rp) |
| Compare signed integers.
|
|
static CRes | c_ufloat (rowpair &rp) |
| Compare unsigned floating point values.
|
|
static CRes | c_float (rowpair &rp) |
| Compare signed floating point values.
|
|
General purpose line comparator.
The documentation for this class was generated from the following file: