1 #ifndef uiioobjselwritetransl_h 2 #define uiioobjselwritetransl_h 36 factory, transl_.getDisplayName() )
44 virtual void use(
const IOPar&) = 0;
45 virtual bool fill(
IOPar&)
const = 0;
61 { suggestedNameAvailble.
trigger(); }
68 #define mDecluiIOObjTranslatorWriteOptsStdFns(clssnm) \ 69 virtual void use(const IOPar&); \ 70 virtual bool fill(IOPar&) const; \ 72 static uiIOObjTranslatorWriteOpts* create( uiParent* p ) \ 73 { return new clssnm(p); } \ 74 static void initClass() 91 IOObj* mkEntry(
const char*)
const;
92 void updatePars(
IOObj&)
const;
96 void use(
const IOObj&);
99 bool hasSelectedTranslator(
const IOObj&)
const;
102 virtual const char* suggestedName()
const;
114 int translIdx()
const;
117 { suggestedNameAvailble.
trigger(); }
#define mExpClass(module)
Definition: commondefs.h:160
bool hasWriteOpts() const
Definition: uiioobjselwritetransl.h:93
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
const Translator & translator() const
Definition: uiioobjselwritetransl.h:48
BufferString errmsg_
Definition: uiioobjselwritetransl.h:56
mDefineFactory1ParamInClasswKW(uiIOObjTranslatorWriteOpts, uiParent *, factory, transl_.getDisplayName()) static bool isPresent(const Translator &t)
Definition: uiioobjselwritetransl.h:35
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiComboBox * selfld_
Definition: uiioobjselwritetransl.h:110
bool isPresent(const char *) const
Combo box.
Definition: uicombobox.h:32
Definition: uiparent.h:26
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
uiLabel * lbl_
Definition: uiioobjselwritetransl.h:111
const Translator & transl_
Definition: uiioobjselwritetransl.h:55
virtual const char * suggestedName() const
Definition: uiioobjselwritetransl.h:51
Group for editing output translator options.
Definition: uiioobjselwritetransl.h:29
Notifier< uiIOObjSelWriteTranslator > suggestedNameAvailble
Definition: uiioobjselwritetransl.h:101
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
void suggestedNameChanged(CallBacker *)
Definition: uiioobjselwritetransl.h:60
ObjectSet< const Translator > trs_
Definition: uiioobjselwritetransl.h:107
ObjectSet< uiIOObjTranslatorWriteOpts > optflds_
Definition: uiioobjselwritetransl.h:108
void trigger(T &t)
Definition: callback.h:258
IOObjContext & ctxt_
Definition: uiioobjselwritetransl.h:106
I/O Interpreter class for a certain object type.
Definition: transl.h:123
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
void nmAvCB(CallBacker *)
Definition: uiioobjselwritetransl.h:116
BufferString errmsg_
Definition: horizontracker.h:119
Group for selecting output translator.
Definition: uiioobjselwritetransl.h:80
virtual const char * errMsg() const
Definition: uiioobjselwritetransl.h:46
bool isEmpty(const NLAModel *mdl)
Notifier< uiIOObjTranslatorWriteOpts > suggestedNameAvailble
Definition: uiioobjselwritetransl.h:50
const char * getDisplayName() const
"username [group]"
Holds the context for selecting and/or creating IOObjs.
Definition: ctxtioobj.h:62
static uiIOObjTranslatorWriteOpts * create(uiParent *p, const Translator &t)
Definition: uiioobjselwritetransl.h:41