OpendTect-6_4  6.4
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
 
Lithology::ID getFreeID () 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 (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

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 ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

ManagedObjectSet< Lithologylths_
 

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::ID Strat::LithologySet::getFreeID ( ) const
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. 2019