OpendTect  6.6
laswriter.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Nanne Hemstra
8  Date: May 2021
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "wellmod.h"
14 #include "executor.h"
15 
16 #include "bufstringset.h"
17 #include "ptrman.h"
18 #include "ranges.h"
19 
20 namespace Well { class Data; class LogSet; }
21 
23 {
24 public:
26  const BufferStringSet& lognms,
27  const char* lasfnm);
29 
30  void setNullValue(const char*);
32  void setZInFeet( bool yn ) { zinfeet_ = yn; }
33  void setColumnWidth( int w ) { columnwidth_ = w; }
34 
35  od_int64 totalNr() const override { return totalnr_; }
36  od_int64 nrDone() const override { return nrdone_; }
37 
38 protected:
39  int nextStep();
40 
47 
52 
55  bool zinfeet_ = false;
56 
57  od_int64 totalnr_ = 1;
58  od_int64 nrdone_ = 0;
59 
60  int columnwidth_ = 12;
61 };
ConstRefMan< Well::Data >
LASWriter::writeLogData
bool writeLogData(od_ostream &)
LASWriter::nullvalue_
BufferString nullvalue_
Definition: laswriter.h:54
Well::Data
The holder of all data concerning a certain well.
Definition: welldata.h:121
LASWriter::~LASWriter
~LASWriter()
LASWriter::setNullValue
void setNullValue(const char *)
LASWriter::writeVersionInfoSection
bool writeVersionInfoSection(od_ostream &)
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
od_int64
#define od_int64
Definition: plftypes.h:35
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
LASWriter::setMDRange
void setMDRange(const StepInterval< float > &)
LASWriter::LASWriter
LASWriter(const Well::Data &, const BufferStringSet &lognms, const char *lasfnm)
LASWriter::writeCurveInfoSection
bool writeCurveInfoSection(od_ostream &)
LASWriter::mdrg_
StepInterval< float > mdrg_
Definition: laswriter.h:53
Repos::Data
@ Data
Definition: repos.h:24
LASWriter::lasfnm_
BufferString lasfnm_
Definition: laswriter.h:51
LASWriter::nextStep
int nextStep()
StepInterval< float >
LASWriter::writeWellInfoSection
bool writeWellInfoSection(od_ostream &)
LASWriter::nrDone
od_int64 nrDone() const override
Definition: laswriter.h:36
LASWriter::totalNr
od_int64 totalNr() const override
Definition: laswriter.h:35
Well
Definition: directionalsurvey.h:20
ptrman.h
Executor
Specification to enable chunkwise execution of a process.
Definition: executor.h:39
LASWriter::setColumnWidth
void setColumnWidth(int w)
Definition: laswriter.h:33
executor.h
LASWriter::setZInFeet
void setZInFeet(bool yn)
Definition: laswriter.h:32
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
Well::LogSet
Log set.
Definition: welllogset.h:32
bufstringset.h
LASWriter::lognms_
BufferStringSet lognms_
Definition: laswriter.h:50
LASWriter::writeParameterInfoSection
bool writeParameterInfoSection(od_ostream &)
LASWriter
Definition: laswriter.h:23
LASWriter::logs_
Well::LogSet & logs_
Definition: laswriter.h:49
LASWriter::wd_
ConstRefMan< Well::Data > wd_
Definition: laswriter.h:48
ranges.h
od_ostream
OD class for stream write common access to the user log file, or std::cout in other than od_main.
Definition: od_ostream.h:26
LASWriter::writeOtherSection
bool writeOtherSection(od_ostream &)

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