OpendTect  6.3
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Friends | List of all members
Strat::Lithology Class Reference

a name and an ID. More...

Inheritance diagram for Strat::Lithology:
[legend]

Public Types

typedef int ID
 

Public Member Functions

 Lithology (ID id, const char *nm, bool por=false)
 
 Lithology (const Lithology &l)
 
Lithologyoperator= (const Lithology &)
 
bool operator== (const Lithology &l) const
 
bool isUdf () const
 
ID id () const
 
bool & porous ()
 
bool porous () const
 
Colorcolor ()
 
const Colorcolor () const
 
 Lithology (const char *)
 
void fill (BufferString &) const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual BufferString getName () const
 
virtual void setName (const char *nm)
 
bool getNameFromPar (const IOPar &)
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static bool isUdf (ID id)
 
static const Lithologyundef ()
 

Protected Attributes

const ID id_
 
bool porous_
 
Color color_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Friends

class LithologySet
 

Detailed Description

a name and an ID.

The reason we don't manage the ID is that user may have their own IDs. For example, it may correspond with a lithology log value.

Member Typedef Documentation

typedef int Strat::Lithology::ID

Constructor & Destructor Documentation

Strat::Lithology::Lithology ( ID  id,
const char *  nm,
bool  por = false 
)
Strat::Lithology::Lithology ( const Lithology l)
inline
Strat::Lithology::Lithology ( const char *  )

Member Function Documentation

Color& Strat::Lithology::color ( )
inline
const Color& Strat::Lithology::color ( ) const
inline
void Strat::Lithology::fill ( BufferString ) const
ID Strat::Lithology::id ( ) const
inline
bool Strat::Lithology::isUdf ( ) const
inline
static bool Strat::Lithology::isUdf ( ID  id)
inlinestatic
Lithology& Strat::Lithology::operator= ( const Lithology )
bool Strat::Lithology::operator== ( const Lithology l) const
inline
bool& Strat::Lithology::porous ( )
inline
bool Strat::Lithology::porous ( ) const
inline
static const Lithology& Strat::Lithology::undef ( )
static

Friends And Related Function Documentation

friend class LithologySet
friend

Member Data Documentation

Color Strat::Lithology::color_
protected
const ID Strat::Lithology::id_
protected
bool Strat::Lithology::porous_
protected

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