Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes

EM::PosID Class Reference

Is an identifier for each position in the earthmodel. More...

List of all members.

Public Member Functions

 PosID (ObjectID emobjid=0, SectionID sectionid=0, SubID subid=0)
bool isUdf () const
const ObjectIDobjectID () const
SectionID sectionID () const
SubID subID () const
void setObjectID (const ObjectID &)
void setSectionID (SectionID)
void setSubID (SubID)
RowCol getRowCol () const
bool operator== (const PosID &b) const
bool operator!= (const PosID &b) const
void fillPar (IOPar &) const
bool usePar (const IOPar &)

Static Public Member Functions

static const PosIDudf ()

Static Protected Member Functions

static const char * emobjStr ()
static const char * sectionStr ()
static const char * subidStr ()

Protected Attributes

ObjectID emobjid_
SectionID sectionid_
SubID subid_

Detailed Description

Is an identifier for each position in the earthmodel.

It has three parts,


Constructor & Destructor Documentation

EM::PosID::PosID ( ObjectID  emobjid = 0,
SectionID  sectionid = 0,
SubID  subid = 0 
) [inline]

Member Function Documentation

static const char* EM::PosID::emobjStr (  )  [static, protected]
void EM::PosID::fillPar ( IOPar  )  const
RowCol EM::PosID::getRowCol (  )  const

Should not be used, only for db purposes (it makes it possible to db SubID

bool EM::PosID::isUdf (  )  const
const ObjectID & EM::PosID::objectID (  )  const [inline]
bool EM::PosID::operator!= ( const PosID b  )  const [inline]
bool EM::PosID::operator== ( const PosID b  )  const [inline]
SectionID EM::PosID::sectionID (  )  const [inline]
static const char* EM::PosID::sectionStr (  )  [static, protected]
void EM::PosID::setObjectID ( const ObjectID id  )  [inline]
void EM::PosID::setSectionID ( SectionID  id  )  [inline]
void EM::PosID::setSubID ( SubID  id  )  [inline]
SubID EM::PosID::subID (  )  const [inline]
static const char* EM::PosID::subidStr (  )  [static, protected]
static const PosID& EM::PosID::udf (  )  [static]
bool EM::PosID::usePar ( const IOPar  ) 

Member Data Documentation

SubID EM::PosID::subid_ [protected]