16 #include "earthmodelmod.h" 21 namespace EM {
class Body; }
32 const char* defExtension()
const {
return "body"; }
33 static FixedString sKeyExtension() {
return "body"; }
47 virtual EMBody* getReadBody() = 0;
74 #define mDefineIndividualBodyTranslator(spec) \ 75 mExpClass(EarthModel) spec##EMBodyTranslator : public odEMBodyTranslator \ 76 { isTranslator(spec,EMBody) \ 78 spec##EMBodyTranslator( const char* nm,const char* unm ) \ 79 : odEMBodyTranslator(nm,unm) {} \ 80 ~spec##EMBodyTranslator() {} \ #define mExpClass(module)
Definition: commondefs.h:160
#define mDefineIndividualBodyTranslator(spec)
Definition: embodytr.h:74
OpendTect format EM::Body Translator.
Definition: embodytr.h:55
OD::String that holds an existing text string.
Definition: fixedstring.h:29
EMBody * getReadBody()
Definition: embodytr.h:64
od
Definition: strattransl.h:17
Definition: uistring.h:89
static FixedString sKeyUserWord()
Definition: embodytr.h:34
isTranslatorGroup(EMBody) public
Definition: embodytr.h:28
#define mDefEmptyTranslatorGroupConstructor(clss)
Definition: transl.h:255
Group of Translators. Has a static factory.
Definition: transl.h:56
uiString errmsg_
Definition: embodytr.h:70
TranslatorGroup for EM::Body.
Definition: embodytr.h:27
#define mDefEmptyTranslatorBaseConstructor(clss)
Definition: transl.h:261
EM::Body EMBody
Definition: embodytr.h:23
I/O Interpreter class for a certain object type.
Definition: transl.h:123
A body that can deliver an implicit body.
Definition: embody.h:50
FixedString Body()
Definition: keystrs.h:43
BufferString errmsg_
Definition: horizontracker.h:119
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
EMBody * readbody_
Definition: embodytr.h:65
const char * errMsg() const
Definition: horizontracker.h:61
Base class for all EM::Body Translators.
Definition: embodytr.h:40
#define isTranslator(spec, clss)
Definition: transl.h:230
Specification to enable chunkwise execution of a process.
Definition: executor.h:39