OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Attrib::DescID Class Reference

AttribDesc ID: each Desc has a unique ID in a set; the boolean isstored allows us to know whether this Desc is to be found in the DescSet dedicated for stored Attributes. More...

Public Member Functions

 DescID ()
 
 DescID (const DescID &id)
 
 DescID (int id, bool isstored)
 
int & asInt ()
 
int asInt () const
 
bool isStored () const
 
bool isUnselInvalid () const
 
bool isValid () const
 
bool operator!= (const DescID &id) const
 
DescIDoperator= (const DescID &id)
 
bool operator== (const DescID &id) const
 
void setStored (bool yn)
 

Static Public Member Functions

static DescID undef ()
 

Protected Attributes

int id_
 
bool isstored_
 

Detailed Description

AttribDesc ID: each Desc has a unique ID in a set; the boolean isstored allows us to know whether this Desc is to be found in the DescSet dedicated for stored Attributes.

<>

Constructor & Destructor Documentation

◆ DescID() [1/3]

Attrib::DescID::DescID ( )
inline

◆ DescID() [2/3]

Attrib::DescID::DescID ( int  id,
bool  isstored 
)
inline

◆ DescID() [3/3]

Attrib::DescID::DescID ( const DescID id)
inline

Member Function Documentation

◆ asInt() [1/2]

int& Attrib::DescID::asInt ( )
inline

◆ asInt() [2/2]

int Attrib::DescID::asInt ( ) const
inline

◆ isStored()

bool Attrib::DescID::isStored ( ) const
inline

◆ isUnselInvalid()

bool Attrib::DescID::isUnselInvalid ( ) const
inline

◆ isValid()

bool Attrib::DescID::isValid ( ) const
inline

◆ operator!=()

bool Attrib::DescID::operator!= ( const DescID id) const
inline

◆ operator=()

DescID& Attrib::DescID::operator= ( const DescID id)
inline

◆ operator==()

bool Attrib::DescID::operator== ( const DescID id) const
inline

◆ setStored()

void Attrib::DescID::setStored ( bool  yn)
inline

◆ undef()

static DescID Attrib::DescID::undef ( )
inlinestatic

Member Data Documentation

◆ id_

int Attrib::DescID::id_
protected

◆ isstored_

bool Attrib::DescID::isstored_
protected

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