OpendTect
6.6
|
Public Member Functions | |
SeparString (const char *escapedstr=nullptr, char separ=',') | |
SeparString (const SeparString &ss) | |
SeparString & | add (const BufferStringSet &) |
Concatenation. More... | |
SeparString & | add (const char *unescapedstr) |
SeparString & | add (const OD::String &ods) |
SeparString & | add (const SeparString &) |
Concatenation. More... | |
template<class T > | |
SeparString & | add (T t) |
const char * | buf () const |
Output escaped. More... | |
FixedString | from (int) const |
Output escaped. More... | |
char * | getCStr () |
Output escaped. More... | |
double | getDValue (int) const |
float | getFValue (int) const |
int64_t | getI64Value (int) const |
int | getIValue (int) const |
uint64_t | getUI64Value (int) const |
unsigned int | getUIValue (int) const |
bool | getYN (int) const |
int | indexOf (const char *unescapedstr) const |
bool | isEmpty () const |
operator const char * () const | |
template<class T > | |
SeparString & | operator+= (const OD::String &ods) |
template<class T > | |
SeparString & | operator+= (T t) |
SeparString & | operator= (const char *escapedstr) |
SeparString & | operator= (const SeparString &) |
FixedString | operator[] (int) const |
Output unescaped. More... | |
BufferString & | rep () |
Output escaped. More... | |
const OD::String & | rep () const |
Output escaped. More... | |
char | sepChar () const |
const char * | sepStr () const |
void | setEmpty () |
void | setSepChar (char) |
int | size () const |
const char * | unescapedStr () const |
Private Member Functions | |
const char * | findSeparator (const char *) const |
const char * | getEscaped (const char *unescapedstr, char sep) const |
const char * | getUnescaped (const char *escapedstartptr, const char *nextsep=nullptr) const |
void | initRep (const char *) |
void | initSep (char s) |
Private Attributes | |
BufferString | rep_ |
BufferString | retstr_ |
char | sep_ [2] |
<>
|
inline |
|
inline |
SeparString& SeparString::add | ( | const BufferStringSet & | ) |
Concatenation.
SeparString& SeparString::add | ( | const char * | unescapedstr | ) |
|
inline |
SeparString& SeparString::add | ( | const SeparString & | ) |
Concatenation.
|
inline |
|
inline |
Output escaped.
|
private |
FixedString SeparString::from | ( | int | ) | const |
Output escaped.
|
inline |
Output escaped.
double SeparString::getDValue | ( | int | ) | const |
|
private |
float SeparString::getFValue | ( | int | ) | const |
int64_t SeparString::getI64Value | ( | int | ) | const |
int SeparString::getIValue | ( | int | ) | const |
uint64_t SeparString::getUI64Value | ( | int | ) | const |
unsigned int SeparString::getUIValue | ( | int | ) | const |
|
private |
bool SeparString::getYN | ( | int | ) | const |
int SeparString::indexOf | ( | const char * | unescapedstr | ) | const |
|
private |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
SeparString& SeparString::operator= | ( | const char * | escapedstr | ) |
SeparString& SeparString::operator= | ( | const SeparString & | ) |
FixedString SeparString::operator[] | ( | int | ) | const |
Output unescaped.
|
inline |
Output escaped.
|
inline |
Output escaped.
|
inline |
|
inline |
|
inline |
void SeparString::setSepChar | ( | char | ) |
int SeparString::size | ( | ) | const |
|
inline |
Use with care! Distinction between separ-chars and escaped separ-chars will get lost.
|
private |
|
mutableprivate |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022