13 #include "attributeenginemod.h" 33 , isstored_(isstored) {}
36 , isstored_(id.isstored_) {}
37 inline DescID& operator =(
const DescID&
id )
38 { id_ =
id.id_; isstored_ =
id.isstored_;
return *
this;}
39 inline bool isValid()
const {
return id_ >= 0; }
52 {
return id.id_ == id_ && isstored_ ==
id.isstored_; }
54 {
return id.id_ != id_ || isstored_ !=
id.isstored_;; }
56 static inline DescID
undef() {
return DescID(-1,
false); }
58 int asInt()
const {
return id_; }
#define mExpClass(module)
Definition: commondefs.h:157
bool isstored_
Definition: attribdescid.h:66
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:51
int & asInt()
Definition: attribdescid.h:59
int asInt() const
Definition: attribdescid.h:58
bool isValid() const
Definition: attribdescid.h:39
AttribDesc ID: each Desc has a unique ID in a set; the boolean isstored allows us to know whether thi...
Definition: attribdescid.h:25
int id_
Definition: attribdescid.h:65
bool isUnselInvalid() const
Definition: attribdescid.h:40
bool isStored() const
Definition: attribdescid.h:60
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:60
static DescID undef()
Definition: attribdescid.h:56
DescID()
Definition: attribdescid.h:28
DescID(const DescID &id)
Definition: attribdescid.h:34
void setStored(bool yn)
Definition: attribdescid.h:61
DescID(int id, bool isstored)
Definition: attribdescid.h:31
Semblance Attribute.
Definition: attribdataholder.h:21