PantryPro
Public Member Functions | Static Public Attributes | List of all members
sql::SQLString Class Reference

Public Member Functions

 SQLString (const SQLString &other)
 
 SQLString (const std::string &other)
 
 SQLString (const char other[])
 
 SQLString (const char *s, size_t n)
 
const SQLStringoperator= (const char *s)
 
const SQLStringoperator= (const std::string &rhs)
 
const SQLStringoperator= (const SQLString &rhs)
 
 operator const std::string & () const
 
std::string * operator-> ()
 For access std::string methods. More...
 
int compare (const SQLString &str) const
 
int compare (const char *s) const
 
int compare (size_t pos1, size_t n1, const char *s) const
 
int caseCompare (const SQLString &s) const
 
int caseCompare (const char *s) const
 
int caseCompare (size_t pos1, size_t n1, const char *s) const
 
const std::string & asStdString () const
 
const char * c_str () const
 
size_t length () const
 
SQLStringappend (const std::string &str)
 
SQLStringappend (const char *s)
 
const char & operator[] (size_t pos) const
 
size_t find (char c, size_t pos=0) const
 
size_t find (const SQLString &s, size_t pos=0) const
 
SQLString substr (size_t pos=0, size_t n=npos) const
 
const SQLStringreplace (size_t pos1, size_t n1, const SQLString &s)
 
size_t find_first_of (char c, size_t pos=0) const
 
size_t find_last_of (char c, size_t pos=npos) const
 
const SQLStringoperator+= (const SQLString &op2)
 
 SQLString (const SQLString &other)
 
 SQLString (const std::string &other)
 
 SQLString (const char other[])
 
 SQLString (const char *s, size_t n)
 
const SQLStringoperator= (const char *s)
 
const SQLStringoperator= (const std::string &rhs)
 
const SQLStringoperator= (const SQLString &rhs)
 
 operator const std::string & () const
 
std::string * operator-> ()
 For access std::string methods. More...
 
int compare (const SQLString &str) const
 
int compare (const char *s) const
 
int compare (size_t pos1, size_t n1, const char *s) const
 
int caseCompare (const SQLString &s) const
 
int caseCompare (const char *s) const
 
int caseCompare (size_t pos1, size_t n1, const char *s) const
 
const std::string & asStdString () const
 
const char * c_str () const
 
size_t length () const
 
SQLStringappend (const std::string &str)
 
SQLStringappend (const char *s)
 
const char & operator[] (size_t pos) const
 
size_t find (char c, size_t pos=0) const
 
size_t find (const SQLString &s, size_t pos=0) const
 
SQLString substr (size_t pos=0, size_t n=npos) const
 
const SQLStringreplace (size_t pos1, size_t n1, const SQLString &s)
 
size_t find_first_of (char c, size_t pos=0) const
 
size_t find_last_of (char c, size_t pos=npos) const
 
const SQLStringoperator+= (const SQLString &op2)
 

Static Public Attributes

static const size_t npos = std::string::npos
 

Member Function Documentation

◆ operator->() [1/2]

std::string* sql::SQLString::operator-> ( )
inline

For access std::string methods.

Not sure we need it. Makes it look like some smart ptr. possibly operator* - will look even more like smart ptr

◆ operator->() [2/2]

std::string* sql::SQLString::operator-> ( )
inline

For access std::string methods.

Not sure we need it. Makes it look like some smart ptr. possibly operator* - will look even more like smart ptr


The documentation for this class was generated from the following file: