acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
wstring Class Reference
Inheritance diagram for wstring:
catch_as_wstring< STRING_CATCHER > windows_path wstring_adaptor< STRING_CATCHER >

Public Types

typedef wstring_manager manager
typedef unichar value_type
typedef wstring_data data_type

Public Member Functions

 wstring (for_moving)
 wstring (manager *pstringmanager)
void construct (manager *pstringmanager=nullptr)
 wstring (const wstring &strSrc, manager *pstringmanager=nullptr)
 wstring (const ::scoped_string &scopedstrSrc, manager *pstringmanager=nullptr)
 wstring (const ::u8 *pszSrc, manager *pstringmanager=nullptr)
 wstring (const ::u8 *pszSrc, character_count nLength, manager *pstringmanager=nullptr)
 wstring (const wide_character *pchSrc, manager *pstringmanager=nullptr)
 wstring (const wide_character *pchSrc, character_count nLength, manager *pstringmanager=nullptr)
 wstring (const wstring_data *pdata, manager *pstringmanager=nullptr)
void attach (wstring_data *pdata)
wstring_data * detach ()
void reserve (character_count n)
wstring & operator= (const wstring &wstr)
wstring & operator= (const wide_character *pwsz)
wstring & operator= (const ::scoped_string &scopedstr)
 operator const wide_character * () const
 operator const wide_character * ()
 operator wide_character * () const
 operator wide_character * ()
const wide_character * c_str () const
wstring & operator+= (unichar wch)
wstring & operator+= (const wide_character *pwsz)
unichar operator[] (::collection::index iIndex) const
unichar & operator[] (::collection::index iIndex)
wide_character * alloc (::collection::count iCount)
inline ::collection::count get_length () const
inline ::collection::count length () const
inline ::collection::count size () const
inline ::collection::count storage_size () const
inline ::collection::count allocation_size () const
inline ::collection::count get_storage_size () const
inline ::collection::count get_allocation_size () const
bool operator== (const wide_character *pwsz) const
bool operator== (const wstring &wstr) const
inline ::i32 Compare (const wide_character *psz) const
inline ::i32 Compare (const wstring &str) const
inline ::i32 CompareNoCase (const wide_character *psz) const
inline ::i32 CompareNoCase (const wstring &str) const
bool is_empty () const
void set_length (::collection::count iLength)
void release_buffer ()
wstring & append (unichar wch)
wstring & append (unichar wch, ::collection::count c)
wstring & append (const wide_character *pwsz)
wstring substr (::collection::index iStart, ::collection::count c=-1)
wstring & replace (::collection::index iStart,::collection::count c, const wide_character *psz)
wstring & operator= (const ::scoped_string &scopedstr)
void assign (const wide_character *pwsz)
void assign (const ::scoped_string &scopedstr)
character_count find (unichar ch, character_count start=0, character_count count=-1) const RELEASENOTHROW
character_count find (const wide_character *pszSub, character_count start=0, character_count count=-1, const wide_character **pszTail=nullptr) const RELEASENOTHROW
bool empty () const

Static Public Member Functions

static wstring empty_string ()

Static Public Attributes

static const ::i32 npos

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