![]() |
OpendTect
6.6
|
Go to the source code of this file.
Classes | |
| class | TranslatorGroup |
| Group of Translators. Has a static factory. More... | |
| class | Translator |
| I/O Interpreter class for a certain object type. More... | |
Macros | |
| #define | mDGBKey "dGB" |
| #define | mdTectKey "dTect" |
| #define | mObjSelUnrelated 0 |
| #define | mObjSelRelated 1 |
| #define | mObjSelMatch 2 |
| #define | mImplTranslatorInitClass(spec, clss, usrnm) |
| #define | mImplTranslatorGroupTheInst(clss) |
| #define | isTranslatorGroupBody(clss) |
| In the class definition of a TranslatorGroup class. More... | |
| #define | isTranslatorGroup(clss) |
| #define | isTranslatorGroupWithInst(clss) |
| #define | isTranslatorBody(spec, clss) |
| In the class definition of a Translator class. More... | |
| #define | isTranslator(spec, clss) isTranslatorBody( spec, clss ); |
| #define | mIsTranslatorWithInitClass(spec, clss, usrnm) |
| #define | defineTranslatorGroup(clss, groupname) |
| In the source file of a TranslatorGroup class. More... | |
| #define | defineTranslator(spec, clss, usrnm) |
| In the source file of a Translator class. More... | |
| #define | mDefEmptyTranslatorGroupConstructor(clss) |
| #define | mDefEmptyTranslatorBaseConstructor(clss) |
| #define | mDefEmptyTranslatorConstructor(spec, clss) |
| #define | mDeclEmptyTranslatorBundle(mod, clss, fmt, defext) |
| #define | mDefSimpleTranslatorInstances(clss, usrnm, fmt) |
| #define | mDefSimpleTranslatorSelector(clss) |
| #define | mDefSimpleTranslatorioContextWithExtra(clss, stdtyp, extra) |
| #define | mDefSimpleTranslatorioContext(clss, stdtyp) mDefSimpleTranslatorioContextWithExtra(clss,stdtyp,) |
| #define | mDefSimpleTranslators(clss, usrnm, fmt, stdtyp) |
| #define | mDefSimpleTranslatorsWithCtioExtra(clss, usrnm, fmt, stdtyp, extra) |
| #define | mDefSimpleTranslatorsWithSelKey(clss, usrnm, fmt, stdtyp, selky) |
| #define | mDefEmptyTranslatorBundle(clss, fmt, stdtyp, fmtky, usrnm, uistrfn) |
| #define | mIOObjContext(trgrp) trgrp##TranslatorGroup::ioContext() |
| #define | mTranslGroupName(trgrp) trgrp##TranslatorGroup::sGroupName() |
| #define | mTranslTemplInstance(trgrp, tr) |
| #define | mTranslCreate(trgrp, tr) (trgrp##Translator*)trgrp##TranslatorGroup::theInst().make(tr) |
| #define | mTranslKey(trgrp, tr) tr##trgrp##Translator::translKey() |
| #define | mMkCtxtIOObj(trgrp) new CtxtIOObj(trgrp##TranslatorGroup::ioContext()) |
| #define | mSelHist(trgrp) trgrp##TranslatorGroup::theInst().selHist() |
Functions | |
| int | defaultSelector (const char *, const char *) |
| #define defineTranslator | ( | spec, | |
| clss, | |||
| usrnm | |||
| ) |
In the source file of a Translator class.
| #define defineTranslatorGroup | ( | clss, | |
| groupname | |||
| ) |
In the source file of a TranslatorGroup class.
| #define isTranslator | ( | spec, | |
| clss | |||
| ) | isTranslatorBody( spec, clss ); |
| #define isTranslatorBody | ( | spec, | |
| clss | |||
| ) |
In the class definition of a Translator class.
| #define isTranslatorGroup | ( | clss | ) |
| #define isTranslatorGroupBody | ( | clss | ) |
In the class definition of a TranslatorGroup class.
| #define isTranslatorGroupWithInst | ( | clss | ) |
| #define mDeclEmptyTranslatorBundle | ( | mod, | |
| clss, | |||
| fmt, | |||
| defext | |||
| ) |
Convenient when the entire Translator concept is not interesting 4 u. Use this in your header file to comply with the concept, so you can make use of OpendTect object selection, retrieval etc.
| #define mDefEmptyTranslatorBaseConstructor | ( | clss | ) |
Convenience when the Translator base class is not interesting 4 u. Defines a simple empty Translator class body
| #define mDefEmptyTranslatorBundle | ( | clss, | |
| fmt, | |||
| stdtyp, | |||
| fmtky, | |||
| usrnm, | |||
| uistrfn | |||
| ) |
Definitions for .cc file: Convenient when the entire Translator concept is not interesting 4 u. defines one 'format' Example: mDefEmptyTranslatorBundle( MyConfig, myFmt, Misc, "MyFmt", "My Format", MyConfigMgr::getUiConfigStr )
| #define mDefEmptyTranslatorConstructor | ( | spec, | |
| clss | |||
| ) |
Convenience when the Translator is not interesting 4 u. Defines a simple empty Translator subclass body
| #define mDefEmptyTranslatorGroupConstructor | ( | clss | ) |
Convenience when the TranslatorGroup is not interesting 4 u. Defines a simple empty TranslatorGroup class body
| #define mDefSimpleTranslatorInstances | ( | clss, | |
| usrnm, | |||
| fmt | |||
| ) |
Definitions for .cc file: Convenience when the entire Translator concept is not interesting This one can be convenient when a group has only one Translator
| #define mDefSimpleTranslatorioContext | ( | clss, | |
| stdtyp | |||
| ) | mDefSimpleTranslatorioContextWithExtra(clss,stdtyp,) |
Definitions for .cc file: Defines the function providing the IOObj context, no extras
| #define mDefSimpleTranslatorioContextWithExtra | ( | clss, | |
| stdtyp, | |||
| extra | |||
| ) |
Definitions for .cc file: Defines the function providing the IOObj context This particular macro allows extension, setting extra members
| #define mDefSimpleTranslators | ( | clss, | |
| usrnm, | |||
| fmt, | |||
| stdtyp | |||
| ) |
Definitions for .cc file: Defines all necessary functions to implement This is the 'basic' one
| #define mDefSimpleTranslatorSelector | ( | clss | ) |
Definitions for .cc file: This particular macro defines a simple object selection definition
| #define mDefSimpleTranslatorsWithCtioExtra | ( | clss, | |
| usrnm, | |||
| fmt, | |||
| stdtyp, | |||
| extra | |||
| ) |
Definitions for .cc file: Defines all necessary functions to implement This one allows adding code to set IOObjContext members
| #define mDefSimpleTranslatorsWithSelKey | ( | clss, | |
| usrnm, | |||
| fmt, | |||
| stdtyp, | |||
| selky | |||
| ) |
Definitions for .cc file: Defines all necessary functions to implement This one sets the selkey Therefore it's the one you want to use if you have your own data sub-dir.
| #define mDGBKey "dGB" |
| #define mdTectKey "dTect" |
| #define mImplTranslatorGroupTheInst | ( | clss | ) |
| #define mImplTranslatorInitClass | ( | spec, | |
| clss, | |||
| usrnm | |||
| ) |
| #define mIOObjContext | ( | trgrp | ) | trgrp##TranslatorGroup::ioContext() |
| #define mIsTranslatorWithInitClass | ( | spec, | |
| clss, | |||
| usrnm | |||
| ) |
| #define mMkCtxtIOObj | ( | trgrp | ) | new CtxtIOObj(trgrp##TranslatorGroup::ioContext()) |
| #define mObjSelMatch 2 |
| #define mObjSelRelated 1 |
| #define mObjSelUnrelated 0 |
| #define mSelHist | ( | trgrp | ) | trgrp##TranslatorGroup::theInst().selHist() |
| #define mTranslCreate | ( | trgrp, | |
| tr | |||
| ) | (trgrp##Translator*)trgrp##TranslatorGroup::theInst().make(tr) |
| #define mTranslGroupName | ( | trgrp | ) | trgrp##TranslatorGroup::sGroupName() |
| #define mTranslKey | ( | trgrp, | |
| tr | |||
| ) | tr##trgrp##Translator::translKey() |
| #define mTranslTemplInstance | ( | trgrp, | |
| tr | |||
| ) |
| int defaultSelector | ( | const char * | , |
| const char * | |||
| ) |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2021