1 #ifndef stratlayseqattrib_h 2 #define stratlayseqattrib_h 27 class LaySeqAttribSet;
50 , transformval_(
mUdf(
float)) {}
63 {
return !
mIsUdf(transformval_); }
66 static const char*
sKeyStats() {
return "Statistics"; }
68 static const char*
sKeyLithos() {
return "Lithologies"; }
99 LaySeqAttrib&
attr(
int idx ) {
return *(*this)[idx]; }
100 const LaySeqAttrib&
attr(
int idx )
const {
return *(*this)[idx]; }
101 LaySeqAttrib*
attr(
const char* nm ) {
return gtAttr(nm); }
102 const LaySeqAttrib*
attr(
const char* nm )
const {
return gtAttr(nm); }
104 void getFrom(
const IOPar&);
105 void putTo(
IOPar&)
const;
111 LaySeqAttrib* gtAttr(
const char*)
const;
#define mExpClass(module)
Definition: commondefs.h:160
#define mIsUdf(val)
Use mIsUdf to check for undefinedness of simple types.
Definition: undefval.h:287
LaySeqAttribSet * set_
Definition: stratlayseqattrib.h:77
Transform
Definition: stratlayseqattrib.h:41
OD class for stream write common access to the user log file, or std::cout in batch progs...
Definition: od_ostream.h:26
void setAttrSet(LaySeqAttribSet &s)
Definition: stratlayseqattrib.h:73
LaySeqAttrib * attr(const char *nm)
Definition: stratlayseqattrib.h:101
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Ref Data for a (usually petrophysical) property.
Definition: propertyref.h:42
static const char * sKeyIsLocal()
Definition: stratlayseqattrib.h:65
attribs to extract from layer sequences
Definition: stratlayseqattrib.h:91
Transform transform_
Definition: stratlayseqattrib.h:60
Set of BufferString objects.
Definition: bufstringset.h:28
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:258
OD class for stream read.
Definition: od_istream.h:24
LaySeqAttribSet & attrSet()
Definition: stratlayseqattrib.h:71
const LaySeqAttrib * attr(const char *nm) const
Definition: stratlayseqattrib.h:102
static const char * sKeyTransform()
Definition: stratlayseqattrib.h:69
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
bool hasTransform() const
Definition: stratlayseqattrib.h:62
static const char * sKeyStats()
Definition: stratlayseqattrib.h:66
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
const LaySeqAttrib & attr(int idx) const
Definition: stratlayseqattrib.h:100
static const char * sKeyUnits()
Definition: stratlayseqattrib.h:67
BufferStringSet units_
Definition: stratlayseqattrib.h:57
Stratigraphy.
Definition: stratlevel.h:26
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Object with a name.
Definition: namedobj.h:35
BufferString stat_
Definition: stratlayseqattrib.h:54
LaySeqAttribSet(const char *nm=0)
Definition: stratlayseqattrib.h:96
bool islocal_
Definition: stratlayseqattrib.h:53
LaySeqAttrib & attr(int idx)
Definition: stratlayseqattrib.h:99
attrib to extract from layer sequences
Definition: stratlayseqattrib.h:37
const LaySeqAttribSet & attrSet() const
Definition: stratlayseqattrib.h:72
ObjectSet where the objects contained are owned by this set.
Definition: manobjectset.h:23
float transformval_
Definition: stratlayseqattrib.h:61
BufferStringSet liths_
Definition: stratlayseqattrib.h:58
static const char * sKeyLithos()
Definition: stratlayseqattrib.h:68