![]() |
OpendTect
6.3
|
Set of BufferString objects. More...
Public Types | |
| typedef ObjectSet< BufferString > | SetType |
| typedef SetType::size_type | size_type |
Public Member Functions | |
| BufferStringSet (size_type n=0, const char *s=0) | |
| BufferStringSet (const char *arr[], size_type len=-1) | |
| virtual | ~BufferStringSet () |
| bool | operator== (const BufferStringSet &) const |
| size_type | size () const |
| bool | isEmpty () const |
| bool | validIdx (size_type i) const |
| size_type | indexOf (const char *) const |
| first match More... | |
| size_type | indexOf (const GlobExpr &) const |
| first match More... | |
| size_type | indexOf (const BufferString *b) const |
| bool | isPresent (const BufferString *b) const |
| bool | isPresent (const char *s) const |
| BufferString & | get (size_type idx) |
| const BufferString & | get (size_type idx) const |
| BufferString * | first () |
| const BufferString * | first () const |
| BufferString * | last () |
| const BufferString * | last () const |
| void | setEmpty () |
| void | erase () |
| void | removeSingle (size_type i) |
| void | removeRange (size_type i1, size_type i2) |
| BufferStringSet & | add (const char *) |
| BufferStringSet & | add (const OD::String &) |
| BufferStringSet & | add (const ::QString &) |
| BufferStringSet & | add (const BufferStringSet &, bool allowduplicates) |
| BufferStringSet & | add (const char *arr[], size_type len=-1) |
| BufferStringSet & | add (BufferString *bs) |
| BufferStringSet & | addToAll (const char *, bool infront=false) |
| bool | addIfNew (const char *) |
| returns whether added More... | |
| bool | addIfNew (const OD::String &) |
| void | append (const BufferStringSet &oth) |
| size_type | nearestMatch (const char *, bool caseinsens=true) const |
| bool | isSubsetOf (const BufferStringSet &) const |
| size_type | maxLength () const |
| size_type | firstDuplicateOf (size_type, CaseSensitivity s=CaseSensitive, size_type startat=0) const |
| bool | hasUniqueNames (CaseSensitivity s=CaseSensitive) const |
| void | sort (bool caseinsens=true, bool asc=true) |
| size_type * | getSortIndexes (bool caseinsns=true, bool asc=true) const |
| void | useIndexes (const size_type *) |
| virtual void | fillPar (IOPar &) const |
| virtual void | usePar (const IOPar &) |
| void | fill (uiStringSet &) const |
| void | use (const uiStringSet &) |
| void | fill (::QStringList &) const |
| void | use (const ::QStringList &) |
| BufferString | cat (const char *sepstr="\n") const |
| void | unCat (const char *, const char *sepstr="\n") |
| BufferString | getDispString (size_type maxnritems=-1, bool quoted=true) const |
| BufferString * | operator[] (size_type idx) |
| const BufferString * | operator[] (size_type idx) const |
| const SetType & | getStringSet () const |
| SetType & | getStringSet () |
| void | allowNull (bool yn=true) |
| BufferStringSet & | operator+= (BufferString *bs) |
| BufferStringSet & | set (size_type idx, BufferString *bs) |
| void | insertAt (BufferString *bs, size_type idx) |
| uiStringSet | getUiStringSet () const |
Protected Attributes | |
| ManagedObjectSet< BufferString > | strs_ |
Set of BufferString objects.
| BufferStringSet::BufferStringSet | ( | size_type | n = 0, |
| const char * | s = 0 |
||
| ) |
| BufferStringSet::BufferStringSet | ( | const char * | arr[], |
| size_type | len = -1 |
||
| ) |
|
inlinevirtual |
| BufferStringSet& BufferStringSet::add | ( | const char * | ) |
| BufferStringSet& BufferStringSet::add | ( | const OD::String & | ) |
| BufferStringSet& BufferStringSet::add | ( | const ::QString & | ) |
| BufferStringSet& BufferStringSet::add | ( | const BufferStringSet & | , |
| bool | allowduplicates | ||
| ) |
| BufferStringSet& BufferStringSet::add | ( | const char * | arr[], |
| size_type | len = -1 |
||
| ) |
|
inline |
| bool BufferStringSet::addIfNew | ( | const char * | ) |
returns whether added
| bool BufferStringSet::addIfNew | ( | const OD::String & | ) |
| BufferStringSet& BufferStringSet::addToAll | ( | const char * | , |
| bool | infront = false |
||
| ) |
|
inline |
|
inline |
| BufferString BufferStringSet::cat | ( | const char * | sepstr = "\n" | ) | const |
|
inline |
| void BufferStringSet::fill | ( | uiStringSet & | ) | const |
| void BufferStringSet::fill | ( | ::QStringList & | ) | const |
|
virtual |
|
inline |
|
inline |
| size_type BufferStringSet::firstDuplicateOf | ( | size_type | , |
| CaseSensitivity | s = CaseSensitive, |
||
| size_type | startat = 0 |
||
| ) | const |
|
inline |
|
inline |
| BufferString BufferStringSet::getDispString | ( | size_type | maxnritems = -1, |
| bool | quoted = true |
||
| ) | const |
| size_type* BufferStringSet::getSortIndexes | ( | bool | caseinsns = true, |
| bool | asc = true |
||
| ) | const |
returns new int [size()] for you to 'delete []' does NOT sort but provides data for useIndexes
|
inline |
|
inline |
| uiStringSet BufferStringSet::getUiStringSet | ( | ) | const |
| bool BufferStringSet::hasUniqueNames | ( | CaseSensitivity | s = CaseSensitive | ) | const |
| size_type BufferStringSet::indexOf | ( | const char * | ) | const |
first match
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool BufferStringSet::isSubsetOf | ( | const BufferStringSet & | ) | const |
|
inline |
|
inline |
| size_type BufferStringSet::maxLength | ( | ) | const |
| size_type BufferStringSet::nearestMatch | ( | const char * | , |
| bool | caseinsens = true |
||
| ) | const |
|
inline |
| bool BufferStringSet::operator== | ( | const BufferStringSet & | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void BufferStringSet::sort | ( | bool | caseinsens = true, |
| bool | asc = true |
||
| ) |
| void BufferStringSet::unCat | ( | const char * | , |
| const char * | sepstr = "\n" |
||
| ) |
| void BufferStringSet::use | ( | const uiStringSet & | ) |
| void BufferStringSet::use | ( | const ::QStringList & | ) |
| void BufferStringSet::useIndexes | ( | const size_type * | ) |
|
virtual |
|
inline |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017