OpendTect  7.0
Public Member Functions | Public Attributes | List of all members
dgbMPESetupTranslator Class Reference

MPESetupTranslator for dgbMPESetup. More...

Inheritance diagram for dgbMPESetupTranslator:
[legend]

Public Member Functions

const char * read (MPESetup &, Conn &) override
 returns err msg or null on success More...
 
const char * warningMsg () const override
 
const char * write (const MPESetup &, Conn &) override
 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
 
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 implRemove (const IOObj *, bool deep=true) const
 
virtual bool implRename (const IOObj *, const char *newnm) const
 
virtual bool implSetReadOnly (const IOObj *, bool) 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 ()
 

Public Attributes

BufferString warningmsg
 

Additional Inherited Members

- Static Public Member Functions inherited from MPESetupTranslator
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 ()
 
- 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)
 
- Protected Attributes inherited from Translator
TranslatorGroupgroup_ = nullptr
 
uiString msg_
 
BufferString typname_
 
BufferString usrname_
 

Detailed Description

MPESetupTranslator for dgbMPESetup.

<>

Member Function Documentation

◆ read()

const char* dgbMPESetupTranslator::read ( MPESetup ,
Conn  
)
overridevirtual

returns err msg or null on success

Implements MPESetupTranslator.

◆ warningMsg()

const char* dgbMPESetupTranslator::warningMsg ( ) const
inlineoverridevirtual

Reimplemented from MPESetupTranslator.

◆ write()

const char* dgbMPESetupTranslator::write ( const MPESetup ,
Conn  
)
overridevirtual

returns err msg or null on success

Implements MPESetupTranslator.

Member Data Documentation

◆ warningmsg

BufferString dgbMPESetupTranslator::warningmsg

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