OpendTect  7.0
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 ~odWriter ()
 
const uiStringerrMsg () const override
 
bool put () const override
 Just write all. More...
 
bool putCSMdl () const override
 Checkshot mdl. More...
 
bool putCSMdl (od_ostream &) const
 
bool putD2T () const override
 
bool putD2T (od_ostream &) const
 
bool putDefLogs () const override
 
bool putDefLogs (od_ostream &) const
 
bool putDispProps () const override
 
bool putDispProps (od_ostream &) const
 
bool putInfoAndTrack () const override
 
bool putInfoAndTrack (od_ostream &) const
 
bool putLog (const Log &) const override
 
bool putLogs () const override
 
bool putMarkers () const override
 
bool putMarkers (od_ostream &) const
 
bool putTrack () const
 
bool renameLog (const char *oldnm, const char *newnm) override
 
void setBinaryWriteLogs (bool yn)
 
bool swapLogs (const Log &, const Log &) const override
 
- Public Member Functions inherited from Well::odIO
virtual ~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
virtual ~WriteAccess ()
 
virtual bool canSwapLogs ()
 

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 * sExtDefaults ()
 
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 * sKeyDefaults ()
 
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
 
int getLogIndex (const char *lognm) const
 
bool isFunctional () const override
 
bool putLog (od_ostream &, const Log &, const DataBuffer *databuf=nullptr) const
 
bool putTrack (od_ostream &) const
 
bool wrHdr (od_ostream &, const char *) 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 Member Functions inherited from Well::WriteAccess
 WriteAccess (const Data &)
 

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 
)

◆ ~odWriter()

virtual Well::odWriter::~odWriter ( )
virtual

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()

const uiString& Well::odWriter::errMsg ( ) const
inlineoverridevirtual

Implements Well::WriteAccess.

◆ getLogBuffer()

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

◆ getLogIndex()

int Well::odWriter::getLogIndex ( const char *  lognm) const
protected

◆ init()

void Well::odWriter::init ( )
private

◆ isFunctional()

bool Well::odWriter::isFunctional ( ) const
overrideprotectedvirtual

Reimplemented from Well::WriteAccess.

◆ put()

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

Just write all.

Implements Well::WriteAccess.

◆ putCSMdl() [1/2]

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

Checkshot mdl.

Implements Well::WriteAccess.

◆ putCSMdl() [2/2]

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

◆ putD2T() [1/2]

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

Implements Well::WriteAccess.

◆ putD2T() [2/2]

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

◆ putDefLogs() [1/2]

bool Well::odWriter::putDefLogs ( ) const
overridevirtual

Reimplemented from Well::WriteAccess.

◆ putDefLogs() [2/2]

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

◆ putDispProps() [1/2]

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

Implements Well::WriteAccess.

◆ putDispProps() [2/2]

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

◆ putInfoAndTrack() [1/2]

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

Implements Well::WriteAccess.

◆ putInfoAndTrack() [2/2]

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

◆ putLog() [1/2]

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

Implements Well::WriteAccess.

◆ putLog() [2/2]

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

◆ putLogs()

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

Implements Well::WriteAccess.

◆ putMarkers() [1/2]

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

Implements Well::WriteAccess.

◆ putMarkers() [2/2]

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

◆ putTrack() [1/2]

bool Well::odWriter::putTrack ( ) const

◆ putTrack() [2/2]

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

◆ renameLog()

bool Well::odWriter::renameLog ( const char *  oldnm,
const char *  newnm 
)
overridevirtual

Reimplemented from Well::WriteAccess.

◆ 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

◆ swapLogs()

bool Well::odWriter::swapLogs ( const Log ,
const Log  
) const
overridevirtual

Reimplemented from Well::WriteAccess.

◆ wrHdr()

bool Well::odWriter::wrHdr ( od_ostream ,
const char *   
) 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-2024