OpendTect  6.6
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)
 
virtual bool implRemove (const IOObj *) const
 
virtual bool implRename (const IOObj *, const char *, const CallBack *cb=0) const
 
virtual bool implSetReadOnly (const IOObj *, bool) const
 
virtual Executorreader (EM::Surface &)
 
EM::SurfaceIODataSelectionselections ()
 
void setCreatedFrom (const char *src)
 
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
 
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 implManagesObjects (const IOObj *) const
 
virtual bool implReadOnly (const IOObj *) const
 
virtual bool isUserSelectable (bool forread=true) 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
 

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_
 
- Protected Attributes inherited from Translator
TranslatorGroupgroup_
 
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=0)
 
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.

◆ implRemove()

virtual bool EMSurfaceTranslator::implRemove ( const IOObj ) const
virtual

Reimplemented from Translator.

◆ implRename()

virtual bool EMSurfaceTranslator::implRename ( const IOObj ,
const char *  ,
const CallBack cb = 0 
) const
virtual

Reimplemented from Translator.

◆ implSetReadOnly()

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

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

◆ 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

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