OpendTect  6.3
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 ()
 
int size () const
 
bool isEmpty () const
 
LithologygetLith (int i)
 
const LithologygetLith (int i) const
 
int indexOf (const char *nm) const
 
bool isPresent (const char *nm) const
 
int indexOf (Lithology::ID id) const
 
bool isPresent (Lithology::ID id) const
 
Lithologyget (const char *nm)
 
const Lithologyget (const char *nm) const
 
Lithologyget (Lithology::ID id)
 
const Lithologyget (Lithology::ID id) const
 
void getNames (BufferStringSet &, PorSel ps=AllPor) const
 
void reportAnyChange ()
 
void setEmpty ()
 
const char * add (Lithology *)
 returns err msg, or null on success More...
 
const ObjectSet< Lithology > & lithologies () const
 
ObjectSet< Lithology > & lithologies ()
 
- 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 detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 

Public Attributes

Notifier< LithologySetanyChange
 

Protected Member Functions

int idxOf (const char *, Lithology::ID) const
 
LithologygtLith (const char *nm, Lithology::ID id) const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

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

Enumerator
OnlyPorous 
NotPorous 
AllPor 

Constructor & Destructor Documentation

Strat::LithologySet::LithologySet ( )
inline

Member Function Documentation

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

returns err msg, or null on success

Lithology* Strat::LithologySet::get ( const char *  nm)
inline
const Lithology* Strat::LithologySet::get ( const char *  nm) const
inline
Lithology* Strat::LithologySet::get ( Lithology::ID  id)
inline
const Lithology* Strat::LithologySet::get ( Lithology::ID  id) const
inline
Lithology& Strat::LithologySet::getLith ( int  i)
inline
const Lithology& Strat::LithologySet::getLith ( int  i) const
inline
void Strat::LithologySet::getNames ( BufferStringSet ,
PorSel  ps = AllPor 
) const
Lithology* Strat::LithologySet::gtLith ( const char *  nm,
Lithology::ID  id 
) const
inlineprotected
int Strat::LithologySet::idxOf ( const char *  ,
Lithology::ID   
) const
protected
int Strat::LithologySet::indexOf ( const char *  nm) const
inline
int Strat::LithologySet::indexOf ( Lithology::ID  id) const
inline
bool Strat::LithologySet::isEmpty ( ) const
inline
bool Strat::LithologySet::isPresent ( const char *  nm) const
inline
bool Strat::LithologySet::isPresent ( Lithology::ID  id) const
inline
const ObjectSet<Lithology>& Strat::LithologySet::lithologies ( ) const
inline
ObjectSet<Lithology>& Strat::LithologySet::lithologies ( )
inline
void Strat::LithologySet::reportAnyChange ( )
inline
void Strat::LithologySet::setEmpty ( )
inline
int Strat::LithologySet::size ( ) const
inline

Member Data Documentation

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

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