![]() |
OpendTect
6.3
|
Concatenated short keys separated by dots. Used for Object identifiers in the Object Manager, or stratigraphic IDs. More...
Public Types | |
| typedef int | IdxType |
Public Member Functions | |
| CompoundKey (const char *s=0) | |
| CompoundKey (const CompoundKey &ck) | |
| CompoundKey & | operator= (const char *s) |
| CompoundKey & | operator+= (const char *) |
| bool | operator== (const char *s) const |
| bool | operator== (const CompoundKey &oth) const |
| bool | operator!= (const char *s) const |
| bool | operator!= (const CompoundKey &u) const |
| void | setEmpty () |
| bool | isEmpty () const |
| char * | getCStr () |
| operator const char * () const | |
| IdxType | nrKeys () const |
| BufferString | key (IdxType) const |
| void | setKey (IdxType, const char *) |
| CompoundKey | upLevel () const |
| bool | isUpLevelOf (const CompoundKey &) const |
Public Member Functions inherited from OD::String | |
| virtual | ~String () |
| bool | operator== (const String &) const |
| bool | operator!= (const String &) const |
| bool | operator== (const char *) const |
| bool | operator!= (const char *) const |
| template<class T > | |
| bool | operator== (const T &) const |
| template<class T > | |
| bool | operator!= (const T &t) const |
| const char * | buf () const |
| const char * | str () const |
| operator const char * () const | |
| unsigned int | size () const |
| bool | isEmpty () const |
| const char & | operator[] (int idx) const |
| virtual char | firstChar () const |
| virtual char | lastChar () const |
| bool | isEqual (const char *, CaseSensitivity c=CaseSensitive) const |
| bool | isStartOf (const char *, CaseSensitivity c=CaseSensitive) const |
| bool | startsWith (const char *, CaseSensitivity c=CaseSensitive) const |
| bool | isEndOf (const char *, CaseSensitivity c=CaseSensitive) const |
| bool | endsWith (const char *, CaseSensitivity c=CaseSensitive) const |
| bool | matches (const char *, CaseSensitivity c=CaseSensitive) const |
| bool | contains (char) const |
| bool | contains (const char *) const |
| const char * | find (char) const |
| const char * | findLast (char) const |
| const char * | find (const char *) const |
| const char * | findLast (const char *) const |
| unsigned int | count (char) const |
| bool | isNumber (bool int_only=false) const |
| bool | isYesNo () const |
| int | toInt () const |
| float | toFloat () const |
| double | toDouble () const |
| bool | toBool () const |
| bool | operator> (const char *) const |
| bool | operator< (const char *) const |
| template<class T > | |
| bool | operator> (const T &) const |
| template<class T > | |
| bool | operator< (const T &) const |
Protected Member Functions | |
| char * | fromKey (IdxType) const |
| const char * | getKeyPart (IdxType) const |
| virtual const char * | gtBuf () const |
| virtual const char * | gtStr () const |
Protected Attributes | |
| BufferString | impl_ |
Private Member Functions | |
| char * | fetchKeyPart (IdxType, bool) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OD::String | |
| static const String & | empty () |
Concatenated short keys separated by dots. Used for Object identifiers in the Object Manager, or stratigraphic IDs.
| typedef int CompoundKey::IdxType |
|
inline |
|
inline |
|
private |
|
protected |
|
inline |
|
protected |
|
inlineprotectedvirtual |
Implements OD::String.
|
inlineprotectedvirtual |
Implements OD::String.
|
inline |
| bool CompoundKey::isUpLevelOf | ( | const CompoundKey & | ) | const |
| BufferString CompoundKey::key | ( | IdxType | ) | const |
| IdxType CompoundKey::nrKeys | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void CompoundKey::setKey | ( | IdxType | , |
| const char * | |||
| ) |
| CompoundKey CompoundKey::upLevel | ( | ) | const |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017