![]() |
CloudBuilder C++ SDK
v3.0.0
Making social games is easy !
|
#include <CotCHelpers.h>
Public Member Functions | |
cstring (const cstring &other) | |
cstring (cstring &&other) | |
cstring (const char *other) | |
cstring (char *other, bool takeOwnership=false) | |
cstring & | operator= (const char *other) |
cstring & | operator= (cstring &other) |
cstring & | operator= (cstring &&other) |
operator const char * () const | |
cstring & | operator<<= (char *other) |
char * | c_str () const |
bool | operator== (const cstring &other) const |
bool | operator< (const cstring &other) const |
bool | operator > (const cstring &other) const |
bool | operator<= (const cstring &other) const |
bool | operator >= (const cstring &other) const |
bool | IsEqual (const char *other) const |
char * | DetachOwnership () |
Constant string holder.
char* CotCHelpers::cstring::DetachOwnership | ( | ) |
Takes out the string held by this cstring and returns it. You'll be free to delete it whenever needed.
cstring& CotCHelpers::cstring::operator<<= | ( | char * | other | ) |
Transfers ownership of the string to this cstring object. The 'other' object will be freed when this cstring dies and no copy is made.
other | string to use and be released at the end |