41 int size()
const {
return logs_.size(); }
43 const Log&
getLog(
int idx )
const {
return *logs_[idx]; }
45 bool isPresent(
const char*)
const;
46 const Log*
getLog(
const char* nm )
const {
return gtLog(nm); }
51 void updateDahIntvs();
53 void removeTopBottomUdfs();
57 void swap(
int idx0,
int idx1) { logs_.swap( idx0, idx1 ); }
58 bool validIdx(
int idx)
const {
return logs_.validIdx(idx); }
60 bool isEmpty()
const {
return size() == 0; }
79 return idx < 0 ? 0 : const_cast<Log*>(logs_[idx]); }
void init()
Definition: welllogset.h:72
#define mExpClass(module)
Definition: commondefs.h:160
#define mSetUdf(val)
Use this macro to set simple types to undefined.
Definition: undefval.h:274
bool isEmpty() const
Definition: welllogset.h:60
Well log.
Definition: welllog.h:44
Ref Data for a (usually petrophysical) property.
Definition: propertyref.h:42
LogSet()
Definition: welllogset.h:36
Log set.
Definition: welllogset.h:32
Set of BufferString objects.
Definition: bufstringset.h:28
ObjectSet< T >::size_type indexOf(const ObjectSet< T > &os, const S &val)
Locate object in set.
Definition: objectset.h:169
Set of pointers to objects.
Definition: commontypes.h:32
bool validIdx(int idx) const
Definition: welllogset.h:58
int size() const
Definition: welllogset.h:41
Definition: directionalsurvey.h:19
void swap(int idx0, int idx1)
Definition: welllogset.h:57
Log & getLog(int idx)
Definition: welllogset.h:42
const Log & getLog(int idx) const
Definition: welllogset.h:43
Log * gtLog(const char *nm) const
Definition: welllogset.h:77
Log * getLog(const char *nm)
Definition: welllogset.h:47
ObjectSet< Log > logs_
Definition: welllogset.h:69
T stop
Definition: ranges.h:93
Interval< float > dahintv_
Definition: welllogset.h:70
T start
Definition: ranges.h:92
StdType
Definition: propertyref.h:46
Interval< float > dahInterval() const
not def if start == undef
Definition: welllogset.h:49
const Log * getLog(const char *nm) const
Definition: welllogset.h:46
virtual ~LogSet()
Definition: welllogset.h:37