15 #include "attributeenginemod.h" 35 , isstored_(isstored) {}
38 , isstored_(id.isstored_) {}
39 inline DescID& operator =(
const DescID&
id )
40 { id_ =
id.id_; isstored_ =
id.isstored_;
return *
this;}
41 inline bool isValid()
const {
return id_ >= 0; }
54 {
return id.id_ == id_ && isstored_ ==
id.isstored_; }
56 {
return id.id_ != id_ || isstored_ !=
id.isstored_;; }
58 static inline DescID
undef() {
return DescID(-1,
false); }
60 int asInt()
const {
return id_; }
#define mExpClass(module)
Definition: commondefs.h:160
bool isstored_
Definition: attribdescid.h:68
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
int & asInt()
Definition: attribdescid.h:61
int asInt() const
Definition: attribdescid.h:60
bool isValid() const
Definition: attribdescid.h:41
AttribDesc ID: each Desc has a unique ID in a set; the boolean isstored allows us to know whether thi...
Definition: attribdescid.h:27
int id_
Definition: attribdescid.h:67
bool isUnselInvalid() const
Definition: attribdescid.h:42
bool isStored() const
Definition: attribdescid.h:62
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:62
static DescID undef()
Definition: attribdescid.h:58
DescID()
Definition: attribdescid.h:30
DescID(const DescID &id)
Definition: attribdescid.h:36
void setStored(bool yn)
Definition: attribdescid.h:63
DescID(int id, bool isstored)
Definition: attribdescid.h:33
Semblance Attribute.
Definition: attribdataholder.h:25