15 #include "generalmod.h" 45 const char* translator_globexpr=0);
48 const char*
name()
const {
return name_; }
50 void fill(
const IODir&,
const char* nmfiltglobexpr=0);
52 void setSelected(
const MultiID&);
56 {
return cur_ < 0 || cur_ >= size() ? 0
59 {
return current() ? current()->ioobj_ : 0 ; }
60 void removeWithTranslator(
const char*);
#define mExpClass(module)
Definition: commondefs.h:160
const IOObj * selected() const
Definition: iodirentry.h:58
bool maycd_
Definition: iodirentry.h:72
const IOObj * ioobj_
Definition: iodirentry.h:32
Set of BufferString objects.
Definition: bufstringset.h:28
ObjectSet< T >::size_type indexOf(const ObjectSet< T > &os, const S &val)
Locate object in set.
Definition: objectset.h:169
needed for manipulation. Used by user interface IOObj management.
Definition: iodirentry.h:28
Set of pointers to objects.
Definition: commontypes.h:32
Group of Translators. Has a static factory.
Definition: transl.h:56
void setCurrent(int idx)
Definition: iodirentry.h:54
int cur_
Definition: iodirentry.h:71
MultiID lastiokey
Definition: iodirentry.h:66
const IODirEntry * current() const
Definition: iodirentry.h:55
const char * name() const
Definition: iodirentry.h:48
list of dir entries.
Definition: iodirentry.h:38
IOObjContext & ctxt
Definition: iodirentry.h:67
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
void sort(ObjectSet< T > &os)
Sort ObjectSet. Must have operator > defined for elements.
Definition: objectset.h:220
BufferString name_
Definition: iodirentry.h:73
Object with a name.
Definition: namedobj.h:35
int indexOf(const IODirEntry *e) const
Definition: iodirentry.h:62
virtual size_type indexOf(const T *) const
Definition: objectset.h:337
Compound key consisting of ints.
Definition: multiid.h:25
Holds the context for selecting and/or creating IOObjs.
Definition: ctxtioobj.h:62