1 #ifndef uiioobjinserter_h 2 #define uiioobjinserter_h 36 : objectInserted(this)
42 const
char* name()
const {
return transl_.userName(); }
43 const char*
factoryName()
const {
return transl_.getDisplayName(); }
45 static bool allDisabled();
46 bool isDisabled()
const;
60 {
return &transl_ == &trl; }
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
mDefineFactoryInClasswKW(uiIOObjInserter, factory, factoryName()) const char *name() const
Definition: uiioobjinserter.h:40
virtual ~uiIOObjInserter()
Definition: uiioobjinserter.h:38
Definition: uiparent.h:26
static bool isPresent(const Translator &t)
Definition: uiioobjinserter.h:49
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
uiIOObjInserter(const Translator &trl)
Definition: uiioobjinserter.h:35
const char * factoryName() const
Definition: uiioobjinserter.h:43
Group of Translators. Has a static factory.
Definition: transl.h:56
inserts a new object into the OD data store.
Definition: uiioobjinserter.h:31
static uiIOObjInserter * create(const Translator &t)
Definition: uiioobjinserter.h:55
I/O Interpreter class for a certain object type.
Definition: transl.h:123
bool hasTranslator(const Translator &trl) const
Definition: uiioobjinserter.h:59
const Translator & transl_
Definition: uiioobjinserter.h:67
const char * getDisplayName() const
"username [group]"
Notifier< uiIOObjInserter > objectInserted
pass a CBCapsule<MultiID> in trigger(),
Definition: uiioobjinserter.h:62