OpendTect-6_4  6.4
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 (int id, bool isstored)
 
 DescID (const DescID &id)
 
DescIDoperator= (const DescID &id)
 
bool isValid () const
 
bool isUnselInvalid () const
 
bool operator== (const DescID &id) const
 
bool operator!= (const DescID &id) const
 
int asInt () const
 
int & asInt ()
 
bool isStored () 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

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

Member Function Documentation

int Attrib::DescID::asInt ( ) const
inline
int& Attrib::DescID::asInt ( )
inline
bool Attrib::DescID::isStored ( ) const
inline
bool Attrib::DescID::isUnselInvalid ( ) const
inline
bool Attrib::DescID::isValid ( ) const
inline
bool Attrib::DescID::operator!= ( const DescID id) const
inline
DescID& Attrib::DescID::operator= ( const DescID id)
inline
bool Attrib::DescID::operator== ( const DescID id) const
inline
void Attrib::DescID::setStored ( bool  yn)
inline
static DescID Attrib::DescID::undef ( )
inlinestatic

Member Data Documentation

int Attrib::DescID::id_
protected
bool Attrib::DescID::isstored_
protected

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