OpendTect 8.0
Loading...
Searching...
No Matches
Strat::LayerModelSuite Class Reference

set of related LayerModels that are edits of an original (the first one). Each model has a description. The suite is never empty. More...

#include <stratlayermodel.h>

Inheritance diagram for Strat::LayerModelSuite:
[legend]

Public Member Functions

 LayerModelSuite ()
 
virtual ~LayerModelSuite ()
 
void addModel (const char *, const uiString &)
 
LayerModel & baseModel ()
 
const LayerModel & baseModel () const
 
void clearEditedData ()
 
int curIdx () const
 
bool curIsEdited () const
 
BufferString desc (int idx) const
 
LayerModel & get (int idx)
 
const LayerModel & get (int idx) const
 
LayerModel & getCurrent ()
 
const LayerModel & getCurrent () const
 
bool hasEditedData () const
 
void prepareEditing ()
 
void removeModel (int)
 
void setBaseModel (LayerModel *, bool setascurrent=false)
 will clear editing
 
void setCurIdx (int)
 
void setDesc (int, const char *, const uiString &)
 
void setElasticPropSel (const ElasticPropSelection &)
 
void setEmpty ()
 keeps empty base model
 
int size () const
 
void touch (int ctyp=-1)
 
uiString uiDesc (int idx) 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.
 
CallBacker & operator= (const CallBacker &)=delete
 
void stopReceivingNotifications () const
 
virtual CallBacker * trueCaller ()
 

Public Attributes

CNotifier< LayerModelSuite, bool > baseChanged
 passes whether there was base data before change
 
Notifier< LayerModelSuite > curChanged
 
CNotifier< LayerModelSuite, bool > editingChanged
 passes whether there was edited data before change
 
CNotifier< LayerModelSuite, int > modelChanged
 The content of the current model was changed.
 

Private Attributes

int curidx_ = 0
 
BufferStringSet descs_
 
ManagedObjectSet< LayerModel > mdls_
 
uiStringSet uidescs_
 

Additional Inherited Members

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

Detailed Description

set of related LayerModels that are edits of an original (the first one). Each model has a description. The suite is never empty.

Constructor & Destructor Documentation

◆ LayerModelSuite()

Strat::LayerModelSuite::LayerModelSuite ( )

◆ ~LayerModelSuite()

virtual Strat::LayerModelSuite::~LayerModelSuite ( )
virtual

Member Function Documentation

◆ addModel()

void Strat::LayerModelSuite::addModel ( const char * ,
const uiString &  )

◆ baseModel() [1/2]

LayerModel & Strat::LayerModelSuite::baseModel ( )
inline

◆ baseModel() [2/2]

const LayerModel & Strat::LayerModelSuite::baseModel ( ) const
inline

◆ clearEditedData()

void Strat::LayerModelSuite::clearEditedData ( )

◆ curIdx()

int Strat::LayerModelSuite::curIdx ( ) const
inline

◆ curIsEdited()

bool Strat::LayerModelSuite::curIsEdited ( ) const
inline

◆ desc()

BufferString Strat::LayerModelSuite::desc ( int idx) const
inline

◆ get() [1/2]

LayerModel & Strat::LayerModelSuite::get ( int idx)
inline

◆ get() [2/2]

const LayerModel & Strat::LayerModelSuite::get ( int idx) const
inline

◆ getCurrent() [1/2]

LayerModel & Strat::LayerModelSuite::getCurrent ( )
inline

◆ getCurrent() [2/2]

const LayerModel & Strat::LayerModelSuite::getCurrent ( ) const
inline

◆ hasEditedData()

bool Strat::LayerModelSuite::hasEditedData ( ) const

◆ prepareEditing()

void Strat::LayerModelSuite::prepareEditing ( )

◆ removeModel()

void Strat::LayerModelSuite::removeModel ( int )

◆ setBaseModel()

void Strat::LayerModelSuite::setBaseModel ( LayerModel * ,
bool setascurrent = false )

will clear editing

◆ setCurIdx()

void Strat::LayerModelSuite::setCurIdx ( int )

◆ setDesc()

void Strat::LayerModelSuite::setDesc ( int ,
const char * ,
const uiString &  )

◆ setElasticPropSel()

void Strat::LayerModelSuite::setElasticPropSel ( const ElasticPropSelection & )

◆ setEmpty()

void Strat::LayerModelSuite::setEmpty ( )

keeps empty base model

◆ size()

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

◆ touch()

void Strat::LayerModelSuite::touch ( int ctyp = -1)
inline

◆ uiDesc()

uiString Strat::LayerModelSuite::uiDesc ( int idx) const
inline

Member Data Documentation

◆ baseChanged

CNotifier<LayerModelSuite,bool> Strat::LayerModelSuite::baseChanged

passes whether there was base data before change

◆ curChanged

Notifier<LayerModelSuite> Strat::LayerModelSuite::curChanged

◆ curidx_

int Strat::LayerModelSuite::curidx_ = 0
private

◆ descs_

BufferStringSet Strat::LayerModelSuite::descs_
private

◆ editingChanged

CNotifier<LayerModelSuite,bool> Strat::LayerModelSuite::editingChanged

passes whether there was edited data before change

◆ mdls_

ManagedObjectSet<LayerModel> Strat::LayerModelSuite::mdls_
private

◆ modelChanged

CNotifier<LayerModelSuite,int> Strat::LayerModelSuite::modelChanged

The content of the current model was changed.

◆ uidescs_

uiStringSet Strat::LayerModelSuite::uidescs_
private

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