OpendTect 8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Strat::LithologySet Class Reference

#include <stratlith.h>

Inheritance diagram for Strat::LithologySet:
[legend]

Public Types

enum  PorSel { OnlyPorous , NotPorous , AllPor }
 

Public Member Functions

 LithologySet ()
 
 ~LithologySet ()
 
const char * add (Lithology *)
 returns err msg, or null on success
 
Lithologyget (const char *nm)
 
const Lithologyget (const char *nm) const
 
Lithologyget (const LithologyID &)
 
const Lithologyget (const LithologyID &) const
 
LithologyID 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 (const LithologyID &) const
 
bool isEmpty () const
 
bool isPresent (const char *nm) const
 
bool isPresent (const LithologyID &) 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.
 
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.
 
CallBackeroperator= (const CallBacker &)=delete
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

Static Public Member Functions

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

Public Attributes

Notifier< LithologySetanyChange
 

Protected Member Functions

LithologygtLith (const char *nm, const LithologyID &) const
 
int idxOf (const char *, const LithologyID &) const
 

Protected Attributes

ManagedObjectSet< Lithologylths_
 

Detailed Description

<>

Member Enumeration Documentation

◆ PorSel

Enumerator
OnlyPorous 
NotPorous 
AllPor 

Constructor & Destructor Documentation

◆ LithologySet()

Strat::LithologySet::LithologySet ( )

◆ ~LithologySet()

Strat::LithologySet::~LithologySet ( )

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)

◆ get() [2/4]

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

◆ get() [3/4]

Lithology * Strat::LithologySet::get ( const LithologyID & )

◆ get() [4/4]

const Lithology * Strat::LithologySet::get ( const LithologyID & ) const

◆ getFreeID()

LithologyID Strat::LithologySet::getFreeID ( ) const

◆ getInitialID()

static LithologyID Strat::LithologySet::getInitialID ( )
static

◆ 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,
const LithologyID &  ) const
protected

◆ idxOf()

int Strat::LithologySet::idxOf ( const char * ,
const LithologyID &  ) const
protected

◆ indexOf() [1/2]

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

◆ indexOf() [2/2]

int Strat::LithologySet::indexOf ( const LithologyID & ) const

◆ isEmpty()

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

◆ isPresent() [1/2]

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

◆ isPresent() [2/2]

bool Strat::LithologySet::isPresent ( const LithologyID & ) const

◆ 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-2025