1 #ifndef stratlayersequence_h 2 #define stratlayersequence_h 43 virtual ~LayerSequence();
44 LayerSequence& operator =(
const LayerSequence&);
45 bool isEmpty()
const {
return layers_.isEmpty(); }
48 int size()
const {
return layers_.size(); }
51 int layerIdxAtZ(
float)
const;
52 int nearestLayerIdxAtZ(
float z)
const;
65 void getLayersFor(
const UnitRef*,
69 LayerSequence&)
const;
74 void prepareUse()
const ;
79 float depthOf(
const Level&)
const;
84 int positionOf(
const Level&)
const;
87 float depthPositionOf(
const Level&)
const;
#define mExpClass(module)
Definition: commondefs.h:160
PropertyRefSelection & propertyRefs()
Definition: stratlayersequence.h:60
int size() const
Definition: stratlayersequence.h:48
Definition: propertyref.h:176
User parameters to compute values for an elastic layer (den,p/s-waves).
Definition: elasticpropsel.h:25
LayerSequence(const LayerSequence &ls)
Definition: stratlayersequence.h:41
A sequence of layers.
Definition: stratlayersequence.h:36
FixedString Level()
Definition: keystrs.h:78
bool isEmpty() const
Definition: stratlayersequence.h:45
PropertyRefSelection props_
Definition: stratlayersequence.h:93
ObjectSet< T >::size_type indexOf(const ObjectSet< T > &os, const S &val)
Locate object in set.
Definition: objectset.h:169
ObjectSet< Layer > layers_
Definition: stratlayersequence.h:91
Set of pointers to objects.
Definition: commontypes.h:32
Stratigraphic level.
Definition: stratlevel.h:42
void setStartDepth(float z)
Definition: stratlayersequence.h:56
ObjectSet< Layer > & layers()
Definition: stratlayersequence.h:49
float z0_
Definition: stratlayersequence.h:92
float startDepth() const
Definition: stratlayersequence.h:55
Reference data for a stratigraphic unit.
Definition: stratunitref.h:38
const ObjectSet< Layer > & layers() const
Definition: stratlayersequence.h:50
void getLayersFor(const UnitRef *ur, ObjectSet< Layer > &lys)
Definition: stratlayersequence.h:63
Stratigraphy.
Definition: stratlevel.h:26
void setEmpty()
Definition: stratlayersequence.h:46
Tree of UnitRef's.
Definition: stratreftree.h:29
const PropertyRefSelection & propertyRefs() const
Definition: stratlayersequence.h:61
void deepErase(ObjectSet< T > &os)
empty the ObjectSet deleting all objects pointed to.
Definition: objectset.h:118