CommonLibSSE NG
Loading...
Searching...
No Matches
RE::GFxWStringBuffer Class Reference

#include <GFxWStringBuffer.h>

Classes

struct  Reserve
 
struct  ReserveHeader
 

Public Types

using value_type = wchar_t
 
using size_type = UPInt
 
using reference = value_type &
 
using const_reference = const value_type &
 

Public Member Functions

 GFxWStringBuffer ()
 
 GFxWStringBuffer (const GFxWStringBuffer &a_rhs)
 
 GFxWStringBuffer (GFxWStringBuffer &&a_rhs)
 
 GFxWStringBuffer (const ReserveHeader &a_reserve)
 
 GFxWStringBuffer (ReserveHeader &&a_reserve)
 
 ~GFxWStringBuffer ()
 
GFxWStringBufferoperator= (const GFxWStringBuffer &a_rhs)
 
GFxWStringBufferoperator= (GFxWStringBuffer &&a_rhs)
 
GFxWStringBufferoperator= (const wchar_t *a_rhs)
 
GFxWStringBufferoperator= (const std::wstring_view &a_rhs)
 
reference operator[] (size_type a_pos)
 
const_reference operator[] (size_type a_pos) const
 
wchar_t & front ()
 
const wchar_t & front () const
 
wchar_t & back ()
 
const wchar_t & back () const
 
const wchar_t * data () const noexcept
 
wchar_t * data () noexcept
 
const wchar_t * c_str () const noexcept
 
 operator std::wstring_view () const noexcept
 
bool empty () const noexcept
 
size_type size () const noexcept
 
size_type length () const noexcept
 
void clear () noexcept
 
void resize (size_type a_count)
 

Protected Member Functions

wchar_t * alloc (size_type a_count)
 
void release ()
 

Protected Attributes

wchar_t * _text
 
UPInt _length
 
ReserveHeader _reserved
 

Member Typedef Documentation

◆ const_reference

◆ reference

◆ size_type

◆ value_type

Constructor & Destructor Documentation

◆ GFxWStringBuffer() [1/5]

RE::GFxWStringBuffer::GFxWStringBuffer ( )

◆ GFxWStringBuffer() [2/5]

RE::GFxWStringBuffer::GFxWStringBuffer ( const GFxWStringBuffer a_rhs)

◆ GFxWStringBuffer() [3/5]

RE::GFxWStringBuffer::GFxWStringBuffer ( GFxWStringBuffer &&  a_rhs)

◆ GFxWStringBuffer() [4/5]

RE::GFxWStringBuffer::GFxWStringBuffer ( const ReserveHeader a_reserve)

◆ GFxWStringBuffer() [5/5]

RE::GFxWStringBuffer::GFxWStringBuffer ( ReserveHeader &&  a_reserve)

◆ ~GFxWStringBuffer()

RE::GFxWStringBuffer::~GFxWStringBuffer ( )

Member Function Documentation

◆ alloc()

wchar_t * RE::GFxWStringBuffer::alloc ( size_type  a_count)
protected

◆ back() [1/2]

wchar_t & RE::GFxWStringBuffer::back ( )

◆ back() [2/2]

const wchar_t & RE::GFxWStringBuffer::back ( ) const

◆ c_str()

const wchar_t * RE::GFxWStringBuffer::c_str ( ) const
noexcept

◆ clear()

void RE::GFxWStringBuffer::clear ( )
noexcept

◆ data() [1/2]

const wchar_t * RE::GFxWStringBuffer::data ( ) const
noexcept

◆ data() [2/2]

wchar_t * RE::GFxWStringBuffer::data ( )
noexcept

◆ empty()

bool RE::GFxWStringBuffer::empty ( ) const
noexcept

◆ front() [1/2]

wchar_t & RE::GFxWStringBuffer::front ( )

◆ front() [2/2]

const wchar_t & RE::GFxWStringBuffer::front ( ) const

◆ length()

size_type RE::GFxWStringBuffer::length ( ) const
noexcept

◆ operator std::wstring_view()

RE::GFxWStringBuffer::operator std::wstring_view ( ) const
noexcept

◆ operator=() [1/4]

GFxWStringBuffer & RE::GFxWStringBuffer::operator= ( const GFxWStringBuffer a_rhs)

◆ operator=() [2/4]

GFxWStringBuffer & RE::GFxWStringBuffer::operator= ( const std::wstring_view &  a_rhs)

◆ operator=() [3/4]

GFxWStringBuffer & RE::GFxWStringBuffer::operator= ( const wchar_t *  a_rhs)

◆ operator=() [4/4]

GFxWStringBuffer & RE::GFxWStringBuffer::operator= ( GFxWStringBuffer &&  a_rhs)

◆ operator[]() [1/2]

reference RE::GFxWStringBuffer::operator[] ( size_type  a_pos)

◆ operator[]() [2/2]

const_reference RE::GFxWStringBuffer::operator[] ( size_type  a_pos) const

◆ release()

void RE::GFxWStringBuffer::release ( )
protected

◆ resize()

void RE::GFxWStringBuffer::resize ( size_type  a_count)

◆ size()

size_type RE::GFxWStringBuffer::size ( ) const
noexcept

Member Data Documentation

◆ _length

UPInt RE::GFxWStringBuffer::_length
protected

◆ _reserved

ReserveHeader RE::GFxWStringBuffer::_reserved
protected

◆ _text

wchar_t* RE::GFxWStringBuffer::_text
protected

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