OpendTect 8.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ElasticPropSelection Class Reference

User parameters to compute values for an elastic layer (den,p/s-waves). More...

#include <elasticpropsel.h>

Inheritance diagram for ElasticPropSelection:
[legend]

Public Member Functions

 ElasticPropSelection (bool needswave)
 
 ElasticPropSelection (const ElasticPropSelection &)
 
 ElasticPropSelection (RefLayer::Type, const PropertyRefSelection &)
 
 ElasticPropSelection (RefLayer::Type=RefLayer::Elastic)
 
 ~ElasticPropSelection ()
 
bool ensureHasType (ElasticFormula::Type)
 
void erase () override
 
uiString errMsg () const
 
void fillPar (IOPar &) const override
 
ElasticPropertyRefgetByType (ElasticFormula::Type)
 
const ElasticPropertyRefgetByType (ElasticFormula::Type) const
 
MultiID getStoredID () const
 
bool isElasticSel () const override
 
bool isOK (const PropertyRefSelection *) const
 
bool isOK (const TypeSet< ElasticFormula::Type > &reqtypes, const PropertyRefSelection &, uiString *msg=nullptr) const
 
bool isValidInput (uiString *errmsg=nullptr) const
 
bool operator!= (const ElasticPropSelection &) const
 
ElasticPropSelectionoperator= (const ElasticPropSelection &)
 
bool operator== (const ElasticPropSelection &) const
 
bool put (const IOObj *) const
 
bool setFor (const PropertyRefSelection &)
 
bool usePar (const IOPar &) override
 
- Public Member Functions inherited from PropertyRefSelection
 PropertyRefSelection (bool with_thickness, const PropertyRef *exclude)
 
 PropertyRefSelection (bool with_thickness=true)
 
 PropertyRefSelection (const Mnemonic &)
 
 PropertyRefSelection (PropertyRef::StdType)
 
const PropertyRefgetByMnemonic (const Mnemonic &, int occ=0) const
 
const PropertyRefgetByName (const char *, bool matchaliases=true) const
 
const PropertyRefgetByType (PropertyRef::StdType, int occ=0) const
 
PropertyRefSelection subselect (PropertyRef::StdType) const
 
- Public Member Functions inherited from ObjectSet< const PropertyRef >
 ObjectSet ()
 
 ObjectSet (const ObjectSet &)
 
 ObjectSet (const PropertyRef *)
 
 ObjectSet (const PropertyRef *, const PropertyRef *)
 
 ObjectSet (const PropertyRef *, const PropertyRef *, const PropertyRef *)
 
virtual ~ObjectSet ()
 
ObjectSetadd (const PropertyRef *t)
 
bool addIfNew (const PropertyRef *)
 
void allowNull (bool yn=true)
 
virtual void append (const ObjectSet &)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
ObjectSetclone () const override
 
virtual void copy (const ObjectSet &)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
void erase () override
 
const PropertyReffirst ()
 
const const PropertyReffirst () const
 
virtual const PropertyRefget (const const PropertyRef *) const
 check & unconst
 
virtual const PropertyRefget (idx_type)
 
virtual const const PropertyRefget (idx_type) const
 
virtual size_type getCapacity () const
 
idx_type getIdx (const_iterator it) const
 
idx_type getIdx (iterator it) const
 
virtual idx_type indexOf (const const PropertyRef *) const
 
virtual void insertAfter (const PropertyRef *newptr, idx_type)
 
virtual void insertAt (const PropertyRef *newptr, idx_type)
 
virtual bool isManaged () const
 
virtual bool isPresent (const const PropertyRef *) const
 
const PropertyReflast ()
 
const const PropertyReflast () const
 
size_type max_size () const
 
od_int64 nrItems () const override
 
bool nullAllowed () const
 
bool operator!= (const ObjectSet &oth) const
 
ObjectSetoperator+= (const PropertyRef *t)
 
virtual ObjectSetoperator-= (const PropertyRef *)
 
ObjectSetoperator= (const ObjectSet &)
 
bool operator== (const ObjectSet &) const
 
const const PropertyRefoperator[] (const const PropertyRef *t) const
 
const PropertyRefoperator[] (idx_type i)
 
const const PropertyRefoperator[] (idx_type i) const
 
void plainErase ()
 
virtual const PropertyRefpop ()
 
void push (const PropertyRef *t)
 
virtual void removeRange (idx_type from, idx_type to)
 
virtual const PropertyRefremoveSingle (idx_type, bool keep_order=true)
 
virtual const PropertyRefreplace (idx_type, const PropertyRef *)
 
void reverse () override
 
virtual bool setCapacity (size_type, bool withmargin)
 Allocates mem only, no size() change.
 
void setNullAllowed (bool yn=true)
 
virtual bool setSize (size_type)
 
size_type size () const
 
void swap (idx_type, idx_type)
 
void swap (ObjectSet &oth)
 
void swapItems (od_int64 i1, od_int64 i2) override
 
void useIndexes (const idx_type *)
 
bool validIdx (od_int64) const override
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Static Public Member Functions

static ElasticPropSelectiongetByDBKey (const MultiID &, const PropertyRefSelection *)
 
static ElasticPropSelectiongetByIOObj (const IOObj *, const PropertyRefSelection *)
 
static const MnemonicgetByType (ElasticFormula::Type, const char *nm)
 
static const char * sKeyElasticProp ()
 
static const char * sKeyElasticPropSel ()
 
- Static Public Member Functions inherited from PropertyRefSelection
static const char * sKeyModelProp ()
 
- Static Public Member Functions inherited from OD::Set
static od_int32 maxIdx32 ()
 
static od_int64 maxIdx64 ()
 

Private Member Functions

ElasticPropSelectiondoAdd (const PropertyRef *) override
 

Static Private Member Functions

static bool checkForValidSelPropsDesc (const ElasticFormula &, const Mnemonic &, BufferStringSet &faultynms, BufferStringSet &corrnms)
 

Private Attributes

uiString errmsg_
 
MultiID storedid_
 

Additional Inherited Members

- Public Types inherited from ObjectSet< const PropertyRef >
typedef impl_type::const_iterator const_iterator
 
typedef const value_typeconst_reference
 
typedef size_type difference_type
 
typedef size_type idx_type
 
typedef impl_type::iterator iterator
 
typedef const PropertyRef object_type
 
typedef value_typereference
 
typedef int size_type
 
typedef const PropertyRefvalue_type
 
- Protected Types inherited from ObjectSet< const PropertyRef >
typedef VectorAccess< const PropertyRef *, size_typeimpl_type
 
- Protected Attributes inherited from ObjectSet< const PropertyRef >
bool allow0_
 
impl_type vec_
 

Detailed Description

User parameters to compute values for an elastic layer (den,p/s-waves).

<>

Constructor & Destructor Documentation

◆ ElasticPropSelection() [1/4]

ElasticPropSelection::ElasticPropSelection ( RefLayer::Type ,
const PropertyRefSelection &  )

◆ ElasticPropSelection() [2/4]

ElasticPropSelection::ElasticPropSelection ( RefLayer::Type = RefLayer::Elastic)

◆ ElasticPropSelection() [3/4]

ElasticPropSelection::ElasticPropSelection ( const ElasticPropSelection & )

◆ ~ElasticPropSelection()

ElasticPropSelection::~ElasticPropSelection ( )

◆ ElasticPropSelection() [4/4]

ElasticPropSelection::ElasticPropSelection ( bool needswave)

Member Function Documentation

◆ checkForValidSelPropsDesc()

static bool ElasticPropSelection::checkForValidSelPropsDesc ( const ElasticFormula & ,
const Mnemonic & ,
BufferStringSet & faultynms,
BufferStringSet & corrnms )
staticprivate

◆ doAdd()

ElasticPropSelection & ElasticPropSelection::doAdd ( const PropertyRef * )
overrideprivatevirtual

Reimplemented from ObjectSet< const PropertyRef >.

◆ ensureHasType()

bool ElasticPropSelection::ensureHasType ( ElasticFormula::Type )

◆ erase()

void ElasticPropSelection::erase ( )
inlineoverridevirtual

Implements OD::Set.

◆ errMsg()

uiString ElasticPropSelection::errMsg ( ) const
inline

◆ fillPar()

void ElasticPropSelection::fillPar ( IOPar & ) const
overridevirtual

Reimplemented from PropertyRefSelection.

◆ getByDBKey()

static ElasticPropSelection * ElasticPropSelection::getByDBKey ( const MultiID & ,
const PropertyRefSelection *  )
static

◆ getByIOObj()

static ElasticPropSelection * ElasticPropSelection::getByIOObj ( const IOObj * ,
const PropertyRefSelection *  )
static

◆ getByType() [1/3]

ElasticPropertyRef * ElasticPropSelection::getByType ( ElasticFormula::Type )

◆ getByType() [2/3]

const ElasticPropertyRef * ElasticPropSelection::getByType ( ElasticFormula::Type ) const

◆ getByType() [3/3]

static const Mnemonic * ElasticPropSelection::getByType ( ElasticFormula::Type ,
const char * nm )
static

◆ getStoredID()

MultiID ElasticPropSelection::getStoredID ( ) const
inline

◆ isElasticSel()

bool ElasticPropSelection::isElasticSel ( ) const
inlineoverridevirtual

Reimplemented from PropertyRefSelection.

◆ isOK() [1/2]

bool ElasticPropSelection::isOK ( const PropertyRefSelection * ) const

◆ isOK() [2/2]

bool ElasticPropSelection::isOK ( const TypeSet< ElasticFormula::Type > & reqtypes,
const PropertyRefSelection & ,
uiString * msg = nullptr ) const

◆ isValidInput()

bool ElasticPropSelection::isValidInput ( uiString * errmsg = nullptr) const

◆ operator!=()

bool ElasticPropSelection::operator!= ( const ElasticPropSelection & ) const

◆ operator=()

ElasticPropSelection & ElasticPropSelection::operator= ( const ElasticPropSelection & )

◆ operator==()

bool ElasticPropSelection::operator== ( const ElasticPropSelection & ) const

◆ put()

bool ElasticPropSelection::put ( const IOObj * ) const

◆ setFor()

bool ElasticPropSelection::setFor ( const PropertyRefSelection & )

◆ sKeyElasticProp()

static const char * ElasticPropSelection::sKeyElasticProp ( )
static

◆ sKeyElasticPropSel()

static const char * ElasticPropSelection::sKeyElasticPropSel ( )
static

◆ usePar()

bool ElasticPropSelection::usePar ( const IOPar & )
overridevirtual

Reimplemented from PropertyRefSelection.

Member Data Documentation

◆ errmsg_

uiString ElasticPropSelection::errmsg_
private

◆ storedid_

MultiID ElasticPropSelection::storedid_
private

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