OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EMSurfaceTranslator Class Reference

Translator for EM::Surface. More...

Inheritance diagram for EMSurfaceTranslator:
[legend]

Public Member Functions

 EMSurfaceTranslator (const char *nm, const char *unm)
 
virtual ~EMSurfaceTranslator ()
 
uiString errMsg () const
 
virtual ExecutorgetAuxdataReader (EM::Surface &, int)
 
virtual ExecutorgetAuxdataWriter (const EM::Surface &, int, bool overwt=false)
 
const ZAxisTransformgetZAxisTransform () const
 
bool implRemove (const IOObj *, bool) const override
 
bool implRename (const IOObj *, const char *) const override
 
bool implSetReadOnly (const IOObj *, bool) const override
 
virtual Executorreader (EM::Surface &)
 
EM::SurfaceIODataSelectionselections ()
 
void setCreatedFrom (const char *src)
 
void setZAxisTransform (ZAxisTransform *)
 
bool startRead (const IOObj &)
 
bool startWrite (const EM::Surface &)
 
Executorwriter (const IOObj &, bool fullimplremove=true)
 
- Public Member Functions inherited from Translator
 Translator (const char *nm, const char *usr_nm)
 
virtual ~Translator ()
 
virtual const char * connType () const
 
virtual IOObjcreateWriteIOObj (const IOObjContext &, const MultiID &) const
 
virtual const char * defExtension () const
 
virtual bool getConfirmRemoveMsg (const IOObj *, uiString &msg, uiString &canceltxt, uiString &deepremovetxt, uiString &shallowremovetxt) const
 
const char * getDisplayName () const
 "username [group]" More...
 
virtual TranslatorgetNew () const =0
 
const TranslatorGroupgroup () const
 
virtual const char * iconName () const
 
virtual bool implExists (const IOObj *, bool forread) const
 
virtual bool implIsLink (const IOObj *) const
 
virtual bool implReadOnly (const IOObj *) const
 
virtual bool isUserSelectable (bool forread=true) const
 
virtual const uiStringmessage () const
 
void setGroup (TranslatorGroup *g)
 
uiString sSelObjectIsWrongType ()
 
const OD::StringtypeName () const
 
virtual void usePar (const IOPar &)
 
const OD::StringuserName () 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
 
virtual CallBackertrueCaller ()
 

Static Public Member Functions

static bool getBinarySetting ()
 
- Static Public Member Functions inherited from Translator
static const TranslatorgetTemplateInstance (const char *displayname)
 
static uiString sBadConnection ()
 
static uiString sNoIoobjMsg ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

virtual ExecutorgetWriter ()
 
void init (const EM::Surface *, const IOObj *)
 
virtual bool prepRead ()
 
virtual bool prepWrite ()
 
void setIOObj (const IOObj *)
 

Protected Attributes

BufferString crfrom_
 
uiString errmsg_
 
IOObjioobj_
 
EM::SurfaceIOData sd_
 
EM::SurfaceIODataSelection sels_
 
EM::Surfacesurface_
 
RefMan< ZAxisTransformzatf_ = nullptr
 
- Protected Attributes inherited from Translator
TranslatorGroupgroup_ = nullptr
 
uiString msg_
 
BufferString typname_
 
BufferString usrname_
 

Additional Inherited Members

- Static Protected Member Functions inherited from Translator
static BufferString getAssociatedFileName (const char *fnm, const char *extension)
 
static BufferString getAssociatedFileName (const IOObj &, const char *extension)
 
static bool removeAssociatedFile (const char *fnm, const char *ext)
 
static bool renameAssociatedFile (const char *fnm, const char *ext, const char *newnm)
 
static bool renameLargeFile (const char *fnm, const char *newfnm, const CallBack *cb=nullptr)
 
static bool setPermAssociatedFile (const char *fnm, const char *ext, bool setwritable)
 

Detailed Description

Translator for EM::Surface.

<>

Constructor & Destructor Documentation

◆ EMSurfaceTranslator()

EMSurfaceTranslator::EMSurfaceTranslator ( const char *  nm,
const char *  unm 
)
inline

◆ ~EMSurfaceTranslator()

virtual EMSurfaceTranslator::~EMSurfaceTranslator ( )
virtual

Member Function Documentation

◆ errMsg()

uiString EMSurfaceTranslator::errMsg ( ) const
inline

◆ getAuxdataReader()

virtual Executor* EMSurfaceTranslator::getAuxdataReader ( EM::Surface ,
int   
)
inlinevirtual

Reimplemented in dgbEMHorizon3DTranslator.

◆ getAuxdataWriter()

virtual Executor* EMSurfaceTranslator::getAuxdataWriter ( const EM::Surface ,
int  ,
bool  overwt = false 
)
inlinevirtual

Reimplemented in dgbEMHorizon3DTranslator.

◆ getBinarySetting()

static bool EMSurfaceTranslator::getBinarySetting ( )
static

◆ getWriter()

virtual Executor* EMSurfaceTranslator::getWriter ( )
inlineprotectedvirtual

Reimplemented in dgbEMSurfaceTranslator.

◆ getZAxisTransform()

const ZAxisTransform* EMSurfaceTranslator::getZAxisTransform ( ) const

◆ implRemove()

bool EMSurfaceTranslator::implRemove ( const IOObj ,
bool   
) const
overridevirtual

Reimplemented from Translator.

◆ implRename()

bool EMSurfaceTranslator::implRename ( const IOObj ,
const char *   
) const
overridevirtual

Reimplemented from Translator.

◆ implSetReadOnly()

bool EMSurfaceTranslator::implSetReadOnly ( const IOObj ,
bool   
) const
overridevirtual

Reimplemented from Translator.

◆ init()

void EMSurfaceTranslator::init ( const EM::Surface ,
const IOObj  
)
protected

◆ prepRead()

virtual bool EMSurfaceTranslator::prepRead ( )
inlineprotectedvirtual

Reimplemented in dgbEMSurfaceTranslator.

◆ prepWrite()

virtual bool EMSurfaceTranslator::prepWrite ( )
inlineprotectedvirtual

◆ reader()

virtual Executor* EMSurfaceTranslator::reader ( EM::Surface )
inlinevirtual

Executor is managed by client.

Reimplemented in lmkEMFault3DTranslator, and dgbEMSurfaceTranslator.

◆ selections()

EM::SurfaceIODataSelection& EMSurfaceTranslator::selections ( )
inline

◆ setCreatedFrom()

void EMSurfaceTranslator::setCreatedFrom ( const char *  src)
inline

◆ setIOObj()

void EMSurfaceTranslator::setIOObj ( const IOObj )
protected

◆ setZAxisTransform()

void EMSurfaceTranslator::setZAxisTransform ( ZAxisTransform )

◆ startRead()

bool EMSurfaceTranslator::startRead ( const IOObj )

◆ startWrite()

bool EMSurfaceTranslator::startWrite ( const EM::Surface )

◆ writer()

Executor* EMSurfaceTranslator::writer ( const IOObj ,
bool  fullimplremove = true 
)

Executor is managed by client.

Member Data Documentation

◆ crfrom_

BufferString EMSurfaceTranslator::crfrom_
protected

◆ errmsg_

uiString EMSurfaceTranslator::errmsg_
protected

◆ ioobj_

IOObj* EMSurfaceTranslator::ioobj_
protected

◆ sd_

EM::SurfaceIOData EMSurfaceTranslator::sd_
protected

◆ sels_

EM::SurfaceIODataSelection EMSurfaceTranslator::sels_
protected

◆ surface_

EM::Surface* EMSurfaceTranslator::surface_
protected

◆ zatf_

RefMan<ZAxisTransform> EMSurfaceTranslator::zatf_ = nullptr
protected

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