U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Urho3D::WString Class Reference

#include </var/dev/u3d/stable/Source/Urho3D/Container/Str.h>

Public Member Functions

 WString ()
 Construct empty.
 
 WString (const String &str)
 Construct from a string.
 
 ~WString ()
 Destruct.
 
wchar_t & operator[] (unsigned index)
 Return char at index.
 
const wchar_t & operator[] (unsigned index) const
 Return const char at index.
 
wchar_t & At (unsigned index)
 Return char at index.
 
const wchar_t & At (unsigned index) const
 Return const char at index.
 
void Resize (unsigned newLength)
 Resize the string.
 
bool Empty () const
 Return whether the string is empty.
 
unsigned Length () const
 Return length.
 
const wchar_t * CString () const
 Return character data.
 

Private Attributes

unsigned length_
 String length.
 
wchar_t * buffer_
 String buffer, null if not allocated.
 

Detailed Description

Wide character string. Only meant for converting from String and passing to the operating system where necessary.


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