OpendTect  6.6
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Strat::LithologySet Class Reference
Inheritance diagram for Strat::LithologySet:
[legend]

Public Types

enum  PorSel { OnlyPorous , NotPorous , AllPor }
 

Public Member Functions

 LithologySet ()
 
const char * add (Lithology *)
 returns err msg, or null on success More...
 
Lithologyget (const char *nm)
 
const Lithologyget (const char *nm) const
 
Lithologyget (Lithology::ID id)
 
const Lithologyget (Lithology::ID id) const
 
Lithology::ID getFreeID () const
 
LithologygetLith (int i)
 
const LithologygetLith (int i) const
 
void getNames (BufferStringSet &, PorSel ps=AllPor) const
 
int indexOf (const char *nm) const
 
int indexOf (Lithology::ID id) const
 
bool isEmpty () const
 
bool isPresent (const char *nm) const
 
bool isPresent (Lithology::ID id) const
 
ObjectSet< Lithology > & lithologies ()
 
const ObjectSet< Lithology > & lithologies () const
 
void reportAnyChange ()
 
void setEmpty ()
 
int size () const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 

Public Attributes

Notifier< LithologySetanyChange
 

Protected Member Functions

LithologygtLith (const char *nm, Lithology::ID id) const
 
int idxOf (const char *, Lithology::ID) const
 

Protected Attributes

ManagedObjectSet< Lithologylths_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

<>

Member Enumeration Documentation

◆ PorSel

Enumerator
OnlyPorous 
NotPorous 
AllPor 

Constructor & Destructor Documentation

◆ LithologySet()

Strat::LithologySet::LithologySet ( )
inline

Member Function Documentation

◆ add()

const char* Strat::LithologySet::add ( Lithology )

returns err msg, or null on success

◆ get() [1/4]

Lithology* Strat::LithologySet::get ( const char *  nm)
inline

◆ get() [2/4]

const Lithology* Strat::LithologySet::get ( const char *  nm) const
inline

◆ get() [3/4]

Lithology* Strat::LithologySet::get ( Lithology::ID  id)
inline

◆ get() [4/4]

const Lithology* Strat::LithologySet::get ( Lithology::ID  id) const
inline

◆ getFreeID()

Lithology::ID Strat::LithologySet::getFreeID ( ) const

◆ getLith() [1/2]

Lithology& Strat::LithologySet::getLith ( int  i)
inline

◆ getLith() [2/2]

const Lithology& Strat::LithologySet::getLith ( int  i) const
inline

◆ getNames()

void Strat::LithologySet::getNames ( BufferStringSet ,
PorSel  ps = AllPor 
) const

◆ gtLith()

Lithology* Strat::LithologySet::gtLith ( const char *  nm,
Lithology::ID  id 
) const
inlineprotected

◆ idxOf()

int Strat::LithologySet::idxOf ( const char *  ,
Lithology::ID   
) const
protected

◆ indexOf() [1/2]

int Strat::LithologySet::indexOf ( const char *  nm) const
inline

◆ indexOf() [2/2]

int Strat::LithologySet::indexOf ( Lithology::ID  id) const
inline

◆ isEmpty()

bool Strat::LithologySet::isEmpty ( ) const
inline

◆ isPresent() [1/2]

bool Strat::LithologySet::isPresent ( const char *  nm) const
inline

◆ isPresent() [2/2]

bool Strat::LithologySet::isPresent ( Lithology::ID  id) const
inline

◆ lithologies() [1/2]

ObjectSet<Lithology>& Strat::LithologySet::lithologies ( )
inline

◆ lithologies() [2/2]

const ObjectSet<Lithology>& Strat::LithologySet::lithologies ( ) const
inline

◆ reportAnyChange()

void Strat::LithologySet::reportAnyChange ( )
inline

◆ setEmpty()

void Strat::LithologySet::setEmpty ( )
inline

◆ size()

int Strat::LithologySet::size ( ) const
inline

Member Data Documentation

◆ anyChange

Notifier<LithologySet> Strat::LithologySet::anyChange

◆ lths_

ManagedObjectSet<Lithology> Strat::LithologySet::lths_
protected

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