OpendTect
7.0
|
Group of Translators. Has a static factory. More...
Public Member Functions | |
bool | add (Translator *) |
void | clearSelHist () |
virtual const char * | defExtension () const |
int | defTranslIdx () const |
virtual const char * | getSurveyDefaultKey (const IOObj *=0) const |
const Translator * | getTemplate (const char *, bool usrnm) const |
int | getTemplateIdx (const Translator *) |
virtual StringView | groupName () const =0 |
bool | hasConnType (const char *) const |
virtual const IOObjContext & | ioCtxt () const =0 |
virtual Translator * | make (const char *, bool usrnm) const |
virtual int | objSelector (const char *) const =0 |
Return value mObjSelUnrelated etc. More... | |
IOPar & | selHist () |
void | setDefTranslIdx (int i) |
const ObjectSet< const Translator > & | templates () const |
virtual const char * | translationApplication () const |
virtual uiString | typeName (int num=1) const =0 |
Public Member Functions inherited from RefCount::Referenced | |
void | addObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
int | nrRefs () const |
Only for expert use. More... | |
void | ref () const |
bool | refIfReffed () const |
Don't use in production, for debugging. More... | |
void | removeObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
bool | tryRef () const |
Not for normal use. May become private. More... | |
void | unRef () const |
void | unRefNoDelete () const |
Static Public Member Functions | |
static TranslatorGroup & | addGroup (TranslatorGroup *) |
static void | clearSelHists () |
static TranslatorGroup & | getGroup (const char *nm) |
static const ObjectSet< TranslatorGroup > & | groups () |
static bool | hasGroup (const char *nm) |
Static Public Member Functions inherited from RefCount::Referenced | |
static bool | isSane (const Referenced *) |
Protected Member Functions | |
TranslatorGroup (const char *clssnm) | |
virtual | ~TranslatorGroup () |
const OD::String & | clssName () const |
Protected Member Functions inherited from RefCount::Referenced | |
Referenced () | |
Referenced (const Referenced &) | |
virtual | ~Referenced () |
Referenced & | operator= (const Referenced &) |
Static Protected Member Functions | |
static ObjectSet< TranslatorGroup > & | getGroups () |
Protected Attributes | |
BufferString | clssname_ |
int | deftridx_ = 0 |
IOPar * | selhist_ = nullptr |
ObjectSet< const Translator > | templs_ |
Group of Translators. Has a static factory.
A TranslatorGroup represents a number of IO interpreters for a certain object type. For example, Wavelets have the WaveletTranslatorGroup singleton class which creates WaveletTranslator subclass instances.
You must define two static methods: static int selector(const char*); -> whether a certain group name matches. Can usually return defaultSelector static const IOObjContext& ioContext(); -> Returns the IO context. See ioobjctxt.h for details.
<>
|
protected |
|
protectedvirtual |
bool TranslatorGroup::add | ( | Translator * | ) |
|
static |
void TranslatorGroup::clearSelHist | ( | ) |
|
static |
|
inlineprotected |
|
inlinevirtual |
Reimplemented in PreStackProcTranslatorGroup, MuteDefTranslatorGroup, PSEventTranslatorGroup, SurvGeom2DTranslatorGroup, SimpleTimeDepthModelTranslatorGroup, PosProvidersTranslatorGroup, PreLoadSurfacesTranslatorGroup, PreLoadsTranslatorGroup, MathFormulaTranslatorGroup, IOObjSelectionTranslatorGroup, and ElasticPropSelectionTranslatorGroup.
|
inline |
|
static |
|
staticprotected |
|
virtual |
Reimplemented in SeisTrc2DTranslatorGroup.
const Translator* TranslatorGroup::getTemplate | ( | const char * | , |
bool | usrnm | ||
) | const |
int TranslatorGroup::getTemplateIdx | ( | const Translator * | ) |
|
pure virtual |
|
inlinestatic |
bool TranslatorGroup::hasConnType | ( | const char * | ) | const |
|
static |
|
pure virtual |
|
virtual |
|
pure virtual |
Return value mObjSelUnrelated etc.
IOPar& TranslatorGroup::selHist | ( | ) |
|
inline |
|
inline |
|
virtual |
|
pure virtual |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024