16 #include "earthmodelmod.h" 40 PosID( ObjectID emobjid=0,
41 SectionID sectionid=0,
44 static const PosID& udf();
47 const ObjectID& objectID()
const;
48 SectionID sectionID()
const;
50 void setObjectID(
const ObjectID&);
51 void setSectionID(SectionID);
67 static const char* emobjStr();
68 static const char* sectionStr();
69 static const char* subidStr();
73 inline PosID::PosID( ObjectID emobj, SectionID section, SubID subid )
85 {
return !(*
this==b); }
od_int16 SectionID
Definition: emposid.h:25
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
bool operator==(const PosID &b) const
Definition: emposid.h:80
Is an identifier for each position in the earthmodel.
Definition: emposid.h:37
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
#define od_int64
Definition: plftypes.h:36
SubID subID() const
Definition: emposid.h:93
bool operator!=(const PosID &b) const
Definition: emposid.h:84
od_int64 SubID
Definition: emposid.h:26
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
SectionID sectionid_
Definition: emposid.h:64
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:62
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
const ObjectID & objectID() const
Definition: emposid.h:87
#define od_int16
Definition: plftypes.h:27
IdxPair used for its row() and col().
Definition: rowcol.h:25
#define od_int32
Definition: plftypes.h:31
void setObjectID(const ObjectID &)
Definition: emposid.h:96
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
SubID subid_
Definition: emposid.h:65
void setSectionID(SectionID)
Definition: emposid.h:99
ObjectID emobjid_
Definition: emposid.h:63
PosID(ObjectID emobjid=0, SectionID sectionid=0, SubID subid=0)
Definition: emposid.h:73
bool isUdf(const T &t)
Definition: undefval.h:243
SectionID sectionID() const
Definition: emposid.h:90
void setSubID(SubID)
Definition: emposid.h:102