Urho3D
Public Member Functions | Private Attributes | List of all members
Urho3D::WString Class Reference

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

#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Container/Str.h>

Public Member Functions

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

Private Attributes

i32 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: