36 BufferString&
get(
int idx ) {
return *((*this)[idx]); }
37 const BufferString&
get(
int idx )
const {
return *((*this)[idx]); }
40 int indexOf(
const BufferString* b )
const 42 inline bool isPresent(
const BufferString* b )
const 46 int nearestMatch(
const char*,
bool caseinsens=
true)
const;
55 bool addIfNew(
const char*);
58 int maxLength()
const;
59 void sort(
bool caseinsens=
true,
bool asc=
true);
60 BufferString commonStart()
const;
62 int* getSortIndexes(
bool caseinsns=
true,
bool asc=
true)
const;
65 void useIndexes(
const int*);
73 BufferString cat(
const char* sepstr=
"\n")
const;
74 void unCat(
const char*,
const char* sepstr=
"\n");
76 BufferString getDispString(
int maxnritems=-1,
bool quoted=
true)
const;
#define mExpClass(module)
Definition: commondefs.h:160
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
bool isPresent(const BufferString *b) const
Definition: bufstringset.h:42
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
virtual bool isPresent(const T *) const
Definition: objectset.h:344
Definition: uistring.h:89
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
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
encapsulates the read-access-only part of strings in OD.
Definition: odstring.h:31
bool isPresent(const char *s) const
Definition: bufstringset.h:44
int indexOf(const BufferString *b) const
Definition: bufstringset.h:40
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Glob-expression matching like UNIX shells.
Definition: globexpr.h:26
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
Definition: uistring.h:218
ObjectSet where the objects contained are owned by this set.
Definition: manobjectset.h:23
virtual size_type indexOf(const T *) const
Definition: objectset.h:337