OpendTect  6.6
Public Member Functions | Public Attributes | List of all members
dgbAttribDescSetTranslator Class Reference

Actual Translator class for I/O of DescSet. More...

Inheritance diagram for dgbAttribDescSetTranslator:
[legend]

Public Member Functions

const char * read (Attrib::DescSet &, Conn &)
 returns err msg or null on success More...
 
const char * warningMsg () const
 
const char * write (const Attrib::DescSet &, Conn &)
 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
 

Public Attributes

uiString warningmsg_
 

Additional Inherited Members

- Static Public Member Functions inherited from AttribDescSetTranslator
static bool retrieve (Attrib::DescSet &, const char *fnm, uiString &)
 
static bool retrieve (Attrib::DescSet &, const IOObj *, uiString &)
 
static bool store (const Attrib::DescSet &, const IOObj *, uiString &)
 BufferString has errmsg, if any. More...
 
- 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=0)
 
static bool setPermAssociatedFile (const char *fnm, const char *ext, bool setwritable)
 
- Protected Attributes inherited from Translator
TranslatorGroupgroup_
 
BufferString typname_
 
BufferString usrname_
 

Detailed Description

Actual Translator class for I/O of DescSet.

<>

Member Function Documentation

◆ read()

const char* dgbAttribDescSetTranslator::read ( Attrib::DescSet ,
Conn  
)
virtual

returns err msg or null on success

Implements AttribDescSetTranslator.

◆ warningMsg()

const char* dgbAttribDescSetTranslator::warningMsg ( ) const
inlinevirtual

◆ write()

const char* dgbAttribDescSetTranslator::write ( const Attrib::DescSet ,
Conn  
)
virtual

returns err msg or null on success

Implements AttribDescSetTranslator.

Member Data Documentation

◆ warningmsg_

uiString dgbAttribDescSetTranslator::warningmsg_

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