OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LASWriter Class Reference
Inheritance diagram for LASWriter:
[legend]

Public Member Functions

 LASWriter (const Well::Data &, const BufferStringSet &lognms, const char *lasfnm)
 
 ~LASWriter ()
 
od_int64 nrDone () const override
 
void setColumnWidth (int w)
 
void setMDRange (const StepInterval< float > &)
 
void setNullValue (const char *)
 
void setZInFeet (bool yn)
 
od_int64 totalNr () const override
 
- Public Member Functions inherited from Executor
 Executor (const char *nm)
 
virtual ~Executor ()
 
virtual int doStep ()
 
virtual bool execute ()
 
bool go (od_ostream &s, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0)
 
bool go (od_ostream *s=0, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0)
 
- Public Member Functions inherited from SequentialTask
 SequentialTask (const char *nm=nullptr)
 
virtual ~SequentialTask ()
 
bool execute ()
 
ProgressMeterprogressMeter ()
 
const ProgressMeterprogressMeter () const
 
void setProgressMeter (ProgressMeter *)
 Must be called before execute() More...
 
- Public Member Functions inherited from Task
virtual ~Task ()
 
virtual void controlWork (Control)
 
virtual void enableWorkControl (bool=true)
 Must be called before execute() More...
 
virtual uiRetVal errorWithDetails () const
 
virtual Control getState () const
 
virtual uiString uiMessage () const
 will be message() again in 7.x More...
 
virtual uiString uiNrDoneText () const
 will be nrDoneText() in 7.x More...
 
bool workControlEnabled () const
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_typename () const
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Protected Member Functions

int nextStep ()
 
bool writeCurveInfoSection (od_ostream &)
 
bool writeLogData (od_ostream &)
 
bool writeOtherSection (od_ostream &)
 
bool writeParameterInfoSection (od_ostream &)
 
bool writeVersionInfoSection (od_ostream &)
 
bool writeWellInfoSection (od_ostream &)
 
- Protected Member Functions inherited from Executor
virtual bool goImpl (od_ostream *, bool, bool, int)
 
- Protected Member Functions inherited from Task
 Task (const char *nm=nullptr)
 
virtual bool shouldContinue ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Protected Attributes

int columnwidth_ = 12
 
BufferString lasfnm_
 
BufferStringSet lognms_
 
Well::LogSetlogs_
 
StepInterval< float > mdrg_
 
od_int64 nrdone_ = 0
 
BufferString nullvalue_
 
od_int64 totalnr_ = 1
 
ConstRefMan< Well::Datawd_
 
bool zinfeet_ = false
 
- Protected Attributes inherited from SequentialTask
int lastupdate_
 
ProgressMeterprogressmeter_
 
- Protected Attributes inherited from Task
Control control_
 
Threads::ConditionVarworkcontrolcondvar_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from Task
enum  Control { Run , Pause , Stop }
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Static Public Member Functions inherited from SequentialTask
static int ErrorOccurred ()
 
static int Finished ()
 
static int MoreToDo ()
 
static int WarningAvailable ()
 
- Static Public Member Functions inherited from Task
static uiString stdNrDoneText ()
 
static uiString uiStdNrDoneText ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Public Attributes inherited from Executor
Notifier< Executorpoststep
 Only when MoreToDo will be returned. More...
 
Notifier< Executorprestep
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ LASWriter()

LASWriter::LASWriter ( const Well::Data ,
const BufferStringSet lognms,
const char *  lasfnm 
)

◆ ~LASWriter()

LASWriter::~LASWriter ( )

Member Function Documentation

◆ nextStep()

int LASWriter::nextStep ( )
protectedvirtual
Return values
MoreToDo()Not finished. Call me again.
Finished()Nothing more to do.
ErrorOccurred()Something went wrong.
Note
if function returns a value greater than cMoreToDo(), it should be interpreted as cMoreToDo().

Implements SequentialTask.

◆ nrDone()

od_int64 LASWriter::nrDone ( ) const
inlineoverridevirtual
Note
nrDone is only used for displaying progress and will be compared to totalNr to show user how large part of the task that is finished.

Reimplemented from Task.

◆ setColumnWidth()

void LASWriter::setColumnWidth ( int  w)
inline

◆ setMDRange()

void LASWriter::setMDRange ( const StepInterval< float > &  )

◆ setNullValue()

void LASWriter::setNullValue ( const char *  )

◆ setZInFeet()

void LASWriter::setZInFeet ( bool  yn)
inline

◆ totalNr()

od_int64 LASWriter::totalNr ( ) const
inlineoverridevirtual

Reimplemented from Task.

◆ writeCurveInfoSection()

bool LASWriter::writeCurveInfoSection ( od_ostream )
protected

◆ writeLogData()

bool LASWriter::writeLogData ( od_ostream )
protected

◆ writeOtherSection()

bool LASWriter::writeOtherSection ( od_ostream )
protected

◆ writeParameterInfoSection()

bool LASWriter::writeParameterInfoSection ( od_ostream )
protected

◆ writeVersionInfoSection()

bool LASWriter::writeVersionInfoSection ( od_ostream )
protected

◆ writeWellInfoSection()

bool LASWriter::writeWellInfoSection ( od_ostream )
protected

Member Data Documentation

◆ columnwidth_

int LASWriter::columnwidth_ = 12
protected

◆ lasfnm_

BufferString LASWriter::lasfnm_
protected

◆ lognms_

BufferStringSet LASWriter::lognms_
protected

◆ logs_

Well::LogSet& LASWriter::logs_
protected

◆ mdrg_

StepInterval<float> LASWriter::mdrg_
protected

◆ nrdone_

od_int64 LASWriter::nrdone_ = 0
protected

◆ nullvalue_

BufferString LASWriter::nullvalue_
protected

◆ totalnr_

od_int64 LASWriter::totalnr_ = 1
protected

◆ wd_

ConstRefMan<Well::Data> LASWriter::wd_
protected

◆ zinfeet_

bool LASWriter::zinfeet_ = false
protected

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