OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
Well::odWriter Class Reference

Writes Well::Data to OpendTect file storage. More...

Inheritance diagram for Well::odWriter:
[legend]

Public Member Functions

 odWriter (const char *fnm, const Data &, uiString &errmsg)
 
 odWriter (const IOObj &, const Data &, uiString &errmsg)
 
virtual const uiStringerrMsg () const
 
bool put () const
 Just write all. More...
 
virtual bool putCSMdl () const
 Checkshot mdl. More...
 
bool putCSMdl (od_ostream &) const
 
virtual bool putD2T () const
 
bool putD2T (od_ostream &) const
 
virtual bool putDispProps () const
 
bool putDispProps (od_ostream &) const
 
virtual bool putInfoAndTrack () const
 
bool putInfoAndTrack (od_ostream &) const
 
virtual bool putLog (const Log &) const
 
virtual bool putLogs () const
 
virtual bool putMarkers () const
 
bool putMarkers (od_ostream &) const
 
virtual bool putTrack () const
 
void setBinaryWriteLogs (bool yn)
 
- Public Member Functions inherited from Well::odIO
const OD::StringbaseName () const
 
const uiStringerrMsg () const
 
const char * getFileName (const char *ext, int nr=0) const
 
bool removeAll (const char *ext) const
 
- Public Member Functions inherited from Well::WriteAccess
 WriteAccess (const Data &d)
 
virtual ~WriteAccess ()
 

Static Public Member Functions

static const char * sKeyLogStorage ()
 
- Static Public Member Functions inherited from Well::odIO
static const char * getMainFileName (const IOObj &)
 
static const char * getMainFileName (const MultiID &)
 
static const char * mkFileName (const char *basfnm, const char *ext, int nr=0)
 
static const char * sExtCSMdl ()
 
static const char * sExtD2T ()
 
static const char * sExtDispProps ()
 
static const char * sExtLog ()
 
static const char * sExtMarkers ()
 
static const char * sExtTrack ()
 
static const char * sExtWell ()
 
static const char * sExtWellTieSetup ()
 
static const char * sKeyD2T ()
 
static const char * sKeyDispProps ()
 
static const char * sKeyLog ()
 
static const char * sKeyMarkers ()
 
static const char * sKeyTrack ()
 
static const char * sKeyWell ()
 

Protected Member Functions

bool doPutD2T (bool) const
 
bool doPutD2T (od_ostream &, bool) const
 
DataBuffergetLogBuffer (od_istream &) const
 
virtual bool isFunctional () const
 
bool putLog (od_ostream &, const Log &) const
 
bool putTrack (od_ostream &) const
 
bool wrHdr (od_ostream &, const char *) const
 
bool writeLog (od_ostream &, const Log &, const DataBuffer *=nullptr) const
 
bool wrLogData (od_ostream &, const Log &, const DataBuffer *databuf=nullptr) const
 
bool wrLogHdr (od_ostream &, const Log &) const
 
- Protected Member Functions inherited from Well::odIO
 odIO (const char *, uiString &)
 

Protected Attributes

bool binwrlogs_
 
- Protected Attributes inherited from Well::odIO
const BufferString basenm_
 
uiStringerrmsg_
 
- Protected Attributes inherited from Well::WriteAccess
const Datawd_
 

Private Member Functions

void init ()
 
void setStrmErrMsg (od_stream &, const uiString &) const
 
uiString startWriteStr () const
 

Detailed Description

Writes Well::Data to OpendTect file storage.

<>

Constructor & Destructor Documentation

◆ odWriter() [1/2]

Well::odWriter::odWriter ( const IOObj ,
const Data ,
uiString errmsg 
)

◆ odWriter() [2/2]

Well::odWriter::odWriter ( const char *  fnm,
const Data ,
uiString errmsg 
)

Member Function Documentation

◆ doPutD2T() [1/2]

bool Well::odWriter::doPutD2T ( bool  ) const
protected

◆ doPutD2T() [2/2]

bool Well::odWriter::doPutD2T ( od_ostream ,
bool   
) const
protected

◆ errMsg()

virtual const uiString& Well::odWriter::errMsg ( ) const
inlinevirtual

Implements Well::WriteAccess.

◆ getLogBuffer()

DataBuffer* Well::odWriter::getLogBuffer ( od_istream ) const
protected

◆ init()

void Well::odWriter::init ( )
private

◆ isFunctional()

virtual bool Well::odWriter::isFunctional ( ) const
protectedvirtual

Reimplemented from Well::WriteAccess.

◆ put()

bool Well::odWriter::put ( ) const
virtual

Just write all.

Implements Well::WriteAccess.

◆ putCSMdl() [1/2]

virtual bool Well::odWriter::putCSMdl ( ) const
virtual

Checkshot mdl.

Implements Well::WriteAccess.

◆ putCSMdl() [2/2]

bool Well::odWriter::putCSMdl ( od_ostream ) const

◆ putD2T() [1/2]

virtual bool Well::odWriter::putD2T ( ) const
virtual

Implements Well::WriteAccess.

◆ putD2T() [2/2]

bool Well::odWriter::putD2T ( od_ostream ) const

◆ putDispProps() [1/2]

virtual bool Well::odWriter::putDispProps ( ) const
virtual

Implements Well::WriteAccess.

◆ putDispProps() [2/2]

bool Well::odWriter::putDispProps ( od_ostream ) const

◆ putInfoAndTrack() [1/2]

virtual bool Well::odWriter::putInfoAndTrack ( ) const
virtual

Implements Well::WriteAccess.

◆ putInfoAndTrack() [2/2]

bool Well::odWriter::putInfoAndTrack ( od_ostream ) const

◆ putLog() [1/2]

virtual bool Well::odWriter::putLog ( const Log ) const
virtual

Implements Well::WriteAccess.

◆ putLog() [2/2]

bool Well::odWriter::putLog ( od_ostream ,
const Log  
) const
protected

◆ putLogs()

virtual bool Well::odWriter::putLogs ( ) const
virtual

Implements Well::WriteAccess.

◆ putMarkers() [1/2]

virtual bool Well::odWriter::putMarkers ( ) const
virtual

Implements Well::WriteAccess.

◆ putMarkers() [2/2]

bool Well::odWriter::putMarkers ( od_ostream ) const

◆ putTrack() [1/2]

virtual bool Well::odWriter::putTrack ( ) const
virtual

◆ putTrack() [2/2]

bool Well::odWriter::putTrack ( od_ostream ) const
protected

◆ setBinaryWriteLogs()

void Well::odWriter::setBinaryWriteLogs ( bool  yn)
inline

◆ setStrmErrMsg()

void Well::odWriter::setStrmErrMsg ( od_stream ,
const uiString  
) const
private

◆ sKeyLogStorage()

static const char* Well::odWriter::sKeyLogStorage ( )
inlinestatic

◆ startWriteStr()

uiString Well::odWriter::startWriteStr ( ) const
private

◆ wrHdr()

bool Well::odWriter::wrHdr ( od_ostream ,
const char *   
) const
protected

◆ writeLog()

bool Well::odWriter::writeLog ( od_ostream ,
const Log ,
const DataBuffer = nullptr 
) const
protected

◆ wrLogData()

bool Well::odWriter::wrLogData ( od_ostream ,
const Log ,
const DataBuffer databuf = nullptr 
) const
protected

◆ wrLogHdr()

bool Well::odWriter::wrLogHdr ( od_ostream ,
const Log  
) const
protected

Member Data Documentation

◆ binwrlogs_

bool Well::odWriter::binwrlogs_
protected

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