OpendTect  7.0
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
EM::PosID Class Reference

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

Public Member Functions

 PosID (const ObjectID &, const RowCol &)
 
 PosID (const ObjectID &, SubID)
 
 PosID (const ObjectID &emobjid=ObjectID::udf(), const SectionID &sectionid=SectionID::udf(), SubID subid=0)
 
 ~PosID ()
 
void fillPar (IOPar &) const
 
RowCol getRowCol () const
 
bool isUdf () const
 
bool isValid () const
 
const ObjectIDobjectID () const
 
bool operator!= (const PosID &b) const
 
bool operator== (const PosID &b) const
 
const SectionIDsectionID () const
 
void setObjectID (const ObjectID &)
 
void setSectionID (const SectionID &)
 
void setSubID (SubID)
 
void setUdf ()
 
SubID subID () 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

◆ PosID() [1/3]

EM::PosID::PosID ( const ObjectID emobjid = ObjectID::udf(),
const SectionID sectionid = SectionID::udf(),
SubID  subid = 0 
)

◆ PosID() [2/3]

EM::PosID::PosID ( const ObjectID ,
const RowCol  
)

◆ PosID() [3/3]

EM::PosID::PosID ( const ObjectID ,
SubID   
)

◆ ~PosID()

EM::PosID::~PosID ( )

Member Function Documentation

◆ emobjStr()

static const char* EM::PosID::emobjStr ( )
staticprotected

◆ fillPar()

void EM::PosID::fillPar ( IOPar ) const

◆ getRowCol()

RowCol EM::PosID::getRowCol ( ) const

◆ isUdf()

bool EM::PosID::isUdf ( ) const

◆ isValid()

bool EM::PosID::isValid ( ) const

◆ objectID()

const ObjectID & EM::PosID::objectID ( ) const
inline

◆ operator!=()

bool EM::PosID::operator!= ( const PosID b) const
inline

◆ operator==()

bool EM::PosID::operator== ( const PosID b) const
inline

◆ sectionID()

const SectionID & EM::PosID::sectionID ( ) const
inline

◆ sectionStr()

static const char* EM::PosID::sectionStr ( )
staticprotected

◆ setObjectID()

void EM::PosID::setObjectID ( const ObjectID id)
inline

◆ setSectionID()

void EM::PosID::setSectionID ( const SectionID id)
inline

◆ setSubID()

void EM::PosID::setSubID ( SubID  id)
inline

◆ setUdf()

void EM::PosID::setUdf ( )

◆ subID()

SubID EM::PosID::subID ( ) const
inline

◆ subidStr()

static const char* EM::PosID::subidStr ( )
staticprotected

◆ udf()

static const PosID& EM::PosID::udf ( )
static

◆ usePar()

bool EM::PosID::usePar ( const IOPar )

Member Data Documentation

◆ emobjid_

ObjectID EM::PosID::emobjid_
protected

◆ sectionid_

SectionID EM::PosID::sectionid_
protected

◆ subid_

SubID EM::PosID::subid_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024