|
#define | throwException(msg) |
| Throws exception with file name and line number. More...
|
|
#define | throwTimeoutException(msg) |
| Throws timeout exception with file name and line number. More...
|
|
#define | throwConnectionException(msg) |
| Throws connection exception with file name and line number. More...
|
|
#define | throwDatabaseException(msg) |
| Throws database exception with file name and line number. More...
|
|
#define | throwSOAPException(msg) |
| Throws SOAP exception with file name and line number. More...
|
|
#define | THROW_SOCKET_ERROR(msg) sptk::throwSocketError(msg, __FILE__, __LINE__) |
|
#define | HAVE_FLTK 0 |
| Flag indicating if FLTK library is installed.
|
|
#define | HAVE_ODBC 1 |
| Flag indicating if ODBC library is installed.
|
|
#define | HAVE_SQLITE3 1 |
| Flag indicating if SQLite3 library is installed.
|
|
#define | HAVE_POSTGRESQL 1 |
| Flag indicating if LibPQ (PostgreSQL client) library is installed.
|
|
#define | HAVE_FIREBIRD 1 |
| Flag indicating if Firebird client library is installed.
|
|
#define | HAVE_MYSQL 1 |
| Flag indicating if MySQL client library is installed.
|
|
#define | HAVE_ORACLE 1 |
| Flag indicating if Oracle client library is installed.
|
|
#define | HAVE_ASPELL 0 |
| Flag indicating if ASpell library is installed.
|
|
#define | HAVE_PCRE 0 |
| Flag indicating if PCRE library is installed.
|
|
#define | HAVE_PCRE2 1 |
| Flag indicating if PCRE library is installed.
|
|
#define | HAVE_OPENSSL 1 |
| Flag indicating if OpenSSL library is installed.
|
|
#define | HAVE_ZLIB 1 |
| Flag indicating if ZLib library is installed.
|
|
#define | HAVE_BROTLI 1 |
| Flag indicating if BROTLI library is installed.
|
|
#define | WORDS_BIG_ENDIAN |
| Flag indicating if byte order for mashine is big endian.
|
|
#define | BITNESS 64 |
| Number of machine bits.
|
|
#define | USE_NEW_ABI 0 |
| Flag if new ABI is used.
|
|
#define | USE_GTEST 1 |
| Flag indicating if GTest library is installed and used.
|
|
#define | CXX_STANDARD 17 |
| Flag indicating if GTest library is installed and used.
|
|
#define | TEST_DIRECTORY "/var/www/sites/sptk/publish_version/sptk5/code/test" |
| Directory that contains data, used in unit tests.
|
|
|
SP_EXPORT std::ostream & | sptk::operator<< (std::ostream &, const Buffer &buffer) |
|
SP_EXPORT bool | sptk::operator< (const sptk::DateTime &dt1, const sptk::DateTime &dt2) |
|
SP_EXPORT bool | sptk::operator<= (const sptk::DateTime &dt1, const sptk::DateTime &dt2) |
|
SP_EXPORT bool | sptk::operator> (const sptk::DateTime &dt1, const sptk::DateTime &dt2) |
|
SP_EXPORT bool | sptk::operator>= (const sptk::DateTime &dt1, const sptk::DateTime &dt2) |
|
SP_EXPORT bool | sptk::operator== (const sptk::DateTime &dt1, const sptk::DateTime &dt2) |
|
SP_EXPORT bool | sptk::operator!= (const sptk::DateTime &dt1, const sptk::DateTime &dt2) |
|
SP_EXPORT sptk::DateTime | sptk::operator+ (const sptk::DateTime &dt1, const sptk::DateTime::duration &duration) |
|
SP_EXPORT sptk::DateTime | sptk::operator- (const sptk::DateTime &dt1, const sptk::DateTime::duration &duration) |
|
SP_EXPORT sptk::DateTime::duration | sptk::operator- (const sptk::DateTime &dt1, const sptk::DateTime &dt2) |
|
SP_EXPORT double | sptk::duration2seconds (const sptk::DateTime::duration &duration) |
|
| sptk::FieldList::FieldList (bool indexed) |
|
| sptk::FieldList::FieldList (const FieldList &other)=delete |
|
| sptk::FieldList::FieldList (FieldList &&other) noexcept=default |
|
FieldList & | sptk::FieldList::operator= (const FieldList &other)=delete |
|
FieldList & | sptk::FieldList::operator= (FieldList &&other) noexcept=default |
|
void | sptk::FieldList::clear () |
|
size_t | sptk::FieldList::size () const |
|
iterator | sptk::FieldList::begin () |
|
const_iterator | sptk::FieldList::begin () const |
|
iterator | sptk::FieldList::end () |
|
const_iterator | sptk::FieldList::end () const |
|
Field & | sptk::FieldList::push_back (const String &fname, bool checkDuplicates) |
|
Field & | sptk::FieldList::push_back (const SField &fld) |
|
SField | sptk::FieldList::findField (const String &fname) const |
|
SField | sptk::FieldList::fieldByName (const String &fname) const |
|
Field & | sptk::FieldList::operator[] (int index) |
|
const Field & | sptk::FieldList::operator[] (int index) const |
|
Field & | sptk::FieldList::operator[] (const String &fname) |
|
const Field & | sptk::FieldList::operator[] (const String &fname) const |
|
void | sptk::FieldList::exportTo (const xdoc::SNode &node, bool compactMode, bool nullLargeData=false) const |
|
SP_EXPORT void | sptk::throwSocketError (const String &message, const char *file, int line) |
|
| sptk::String::String () |
|
| sptk::String::String (const String &other)=default |
|
| sptk::String::String (String &&src) noexcept=default |
|
| sptk::String::String (const std::string &str, int64_t id=0) |
|
| sptk::String::String (const char *str) |
|
| sptk::String::String (const char *str, size_t len, int64_t id=0) |
|
| sptk::String::String (size_t len, char ch, int64_t id=0) |
|
| sptk::String::~String () noexcept=default |
|
String & | sptk::String::operator= (const std::string &si) |
|
String & | sptk::String::operator= (const String &other)=default |
|
String & | sptk::String::operator= (String &&other) noexcept=default |
|
String & | sptk::String::operator= (const char *str) |
|
int64_t | sptk::String::ident () const |
|
void | sptk::String::ident (int64_t id) |
|
bool | sptk::String::in (std::initializer_list< String > list) const |
|
bool | sptk::String::matches (const String &pattern, const String &options=String()) const |
|
Strings | sptk::String::split (const String &pattern) const |
|
String | sptk::String::replace (const String &pattern, const String &replacement) const |
|
String | sptk::String::toUpperCase () const |
|
String | sptk::String::toLowerCase () const |
|
int | sptk::String::toInt () const |
|
bool | sptk::String::startsWith (const String &subject) const |
|
bool | sptk::String::contains (const String &subject) const |
|
bool | sptk::String::endsWith (const String &subject) const |
|
String | sptk::String::trim () const |
|
String SP_EXPORT | sptk::upperCase (const sptk::String &str) |
|
String SP_EXPORT | sptk::lowerCase (const sptk::String &str) |
|
String SP_EXPORT | sptk::trim (const sptk::String &str) |
|
String SP_EXPORT | sptk::int2string (int32_t) |
|
String SP_EXPORT | sptk::int2string (uint32_t) |
|
String SP_EXPORT | sptk::int2string (int64_t) |
|
String SP_EXPORT | sptk::int2string (uint64_t) |
|
int SP_EXPORT | sptk::string2int (const sptk::String &str, int defaultValue=0) |
|
int64_t SP_EXPORT | sptk::string2int64 (const sptk::String &str, int64_t defaultValue=0) |
|
String SP_EXPORT | sptk::double2string (double value) |
|
double SP_EXPORT | sptk::string2double (const sptk::String &str) |
|
double SP_EXPORT | sptk::string2double (const sptk::String &str, double defaultValue) |
|
String SP_EXPORT | sptk::capitalizeWords (const sptk::String &str) |
|