38 : Index_Type_Pair(f,s) {}
41 {
return !(*
this == oth); }
43 bool isUdf()
const {
return *
this == udf(); }
48 {
return idx ? second : first; }
50 {
return idx ? second : first; }
52 const char* getUsrStr(
const char* prefx,
const char* sep,
53 const char* postfx,
bool only2nd)
const;
54 bool parseUsrStr(
const char* str,
const char* prefx,
55 const char* sep,
const char* postfx);
62 return first == oth.first && second == oth.second;
#define mExpClass(module)
Definition: commondefs.h:160
IdxPair(IdxType f, IdxType s)
Definition: idxpair.h:37
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
bool operator==(const IdxPair &) const
Definition: idxpair.h:60
bool isUdf() const
Definition: idxpair.h:43
void setUdf()
Definition: idxpair.h:44
od_int32 Index_Type
Definition: commontypes.h:33
IdxPair IdxPairDelta
Definition: idxpair.h:24
IdxPair IdxPairStep
Definition: idxpair.h:25
IdxType operator[](int idx) const
Definition: idxpair.h:49
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:62
IdxPair()
Definition: idxpair.h:36
std::pair< Index_Type, Index_Type > Index_Type_Pair
Definition: idxpair.h:23
Index_Type IdxType
Definition: idxpair.h:34
A pair of numbers; base class for BinID et al.
Definition: idxpair.h:30
IdxType & operator[](int idx)
Definition: idxpair.h:47