Go to the documentation of this file.
21 friend class ::App::StringTool;
62 const wchar_t*
c_str()
const {
return _utf16string.c_str(); }
83 std::wstring _utf16string;
std::wstring toWString() const
Returns Base::String as a std::wstring.
bool operator==(const Base::String &other) const
const wchar_t * c_str() const
Returns wchar_t array.
Definition: String.h:62
Base::String operator+(const Base::String &other) const
String(const wchar_t *s)
Constructs a string from an array of wchar_t.
Base::String & operator=(const Base::String &rhs)
bool operator>(const Base::String &other) const
String(const std::wstring &s)
Constructs a string from a std::wstring.
friend LX_BASE_EXPORT std::ostream & operator<<(std::ostream &o, const Base::String &s)
Base::String substr(size_t pos=0, size_t len=std::string::npos) const
String()
Constructs an empty string.
bool startsWith(const Base::String &other) const
bool operator<(const Base::String &other) const
bool contains(const Base::String &other) const
LX_BASE_EXPORT std::ostream & operator<<(std::ostream &o, const Base::Color &color)
Base::String & operator+=(const Base::String &other)
bool operator!=(const Base::String &other) const
String(const QString &s)
Constructs a string from a QString.
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:18
String(const Base::String &s)
Constructs a string from an array of wchar_t.
bool isEqual(const Base::String &other) const
Definition: AbstractXMLReader.h:5