OpendTect  7.0
Public Member Functions | Static Public Member Functions | List of all members
PickSetTranslator Class Referenceabstract
Inheritance diagram for PickSetTranslator:
[legend]

Public Member Functions

bool implRemove (const IOObj *, bool) const override
 
bool implRename (const IOObj *, const char *) const override
 
virtual const char * read (Pick::Set &, Conn &, bool checkdir=true)=0
 returns err msg or null on success More...
 
virtual const char * write (const Pick::Set &, 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
 
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 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 ()
 

Static Public Member Functions

static void createBinIDValueSets (const BufferStringSet &ioobjids, ObjectSet< BinIDValueSet > &)
 Utility function. More...
 
static void createDataPointSets (const BufferStringSet &, ObjectSet< DataPointSet > &, bool is2d, bool mini=false)
 Utility function. More...
 
static void fillConstraints (IOObjContext &, bool ispoly)
 
static bool getCoordSet (const char *ioobjkey, TypeSet< Coord3 > &)
 Do not use, will be removed after 6.0. More...
 
static bool getCoordSet (const char *ioobjkey, TypeSet< Coord3 > &, TypeSet< TrcKey > &)
 Utility function. More...
 
static ODPolygon< float > * getPolygon (const IOObj &, BufferString &errmsg)
 Returns null on failure. More...
 
static bool retrieve (Pick::Set &, const IOObj *, bool checkdir, BufferString &)
 
static bool store (const Pick::Set &, const IOObj *, BufferString &)
 
static void tagLegacyPickSets ()
 
- 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=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

<>

Member Function Documentation

◆ createBinIDValueSets()

static void PickSetTranslator::createBinIDValueSets ( const BufferStringSet ioobjids,
ObjectSet< BinIDValueSet > &   
)
static

Utility function.

◆ createDataPointSets()

static void PickSetTranslator::createDataPointSets ( const BufferStringSet ,
ObjectSet< DataPointSet > &  ,
bool  is2d,
bool  mini = false 
)
static

Utility function.

◆ fillConstraints()

static void PickSetTranslator::fillConstraints ( IOObjContext ,
bool  ispoly 
)
static

◆ getCoordSet() [1/2]

static bool PickSetTranslator::getCoordSet ( const char *  ioobjkey,
TypeSet< Coord3 > &   
)
static

Do not use, will be removed after 6.0.

◆ getCoordSet() [2/2]

static bool PickSetTranslator::getCoordSet ( const char *  ioobjkey,
TypeSet< Coord3 > &  ,
TypeSet< TrcKey > &   
)
static

Utility function.

◆ getPolygon()

static ODPolygon<float>* PickSetTranslator::getPolygon ( const IOObj ,
BufferString errmsg 
)
static

Returns null on failure.

◆ implRemove()

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

Reimplemented from Translator.

◆ implRename()

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

Reimplemented from Translator.

◆ read()

virtual const char* PickSetTranslator::read ( Pick::Set ,
Conn ,
bool  checkdir = true 
)
pure virtual

returns err msg or null on success

Implemented in dgbPickSetTranslator.

◆ retrieve()

static bool PickSetTranslator::retrieve ( Pick::Set ,
const IOObj ,
bool  checkdir,
BufferString  
)
static

◆ store()

static bool PickSetTranslator::store ( const Pick::Set ,
const IOObj ,
BufferString  
)
static

◆ tagLegacyPickSets()

static void PickSetTranslator::tagLegacyPickSets ( )
static

◆ write()

virtual const char* PickSetTranslator::write ( const Pick::Set ,
Conn  
)
pure virtual

returns err msg or null on success

Implemented in dgbPickSetTranslator.


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