OpendTect  6.6
Public Member Functions | Static Public Member Functions | List of all members
MPESetupTranslator Class Referenceabstract

Translator for MPE::Setup. More...

Inheritance diagram for MPESetupTranslator:
[legend]

Public Member Functions

virtual const char * read (MPESetup &, Conn &)=0
 returns err msg or null on success More...
 
virtual const char * warningMsg () const
 
virtual const char * write (const MPESetup &, Conn &)=0
 returns err msg or null on success More...
 
- 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 implRemove (const IOObj *) const
 
virtual bool implRename (const IOObj *, const char *, const CallBack *cb=0) const
 
virtual bool implSetReadOnly (const IOObj *, bool) 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 retrieve (MPESetup &, const IOObj *, BufferString &)
 
static bool store (const MPESetup &, const IOObj *, BufferString &)
 
- 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 ()
 

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)
 
- Protected Attributes inherited from Translator
TranslatorGroupgroup_
 
BufferString typname_
 
BufferString usrname_
 

Detailed Description

Translator for MPE::Setup.

<>

Member Function Documentation

◆ read()

virtual const char* MPESetupTranslator::read ( MPESetup ,
Conn  
)
pure virtual

returns err msg or null on success

Implemented in dgbMPESetupTranslator.

◆ retrieve()

static bool MPESetupTranslator::retrieve ( MPESetup ,
const IOObj ,
BufferString  
)
static

BufferString has errmsg, if any If true returned, errmsg contains warnings

◆ store()

static bool MPESetupTranslator::store ( const MPESetup ,
const IOObj ,
BufferString  
)
static

BufferString has errmsg, if any If true returned, errmsg contains warnings

◆ warningMsg()

virtual const char* MPESetupTranslator::warningMsg ( ) const
inlinevirtual

Reimplemented in dgbMPESetupTranslator.

◆ write()

virtual const char* MPESetupTranslator::write ( const MPESetup ,
Conn  
)
pure virtual

returns err msg or null on success

Implemented in dgbMPESetupTranslator.


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