Gamedev Framework (gf)  0.17.0
A C++14 framework for 2D games
Public Member Functions | List of all members
gf::UICharBuffer Class Reference

A character buffer for edition. More...

#include <gf/UI.h>

Public Member Functions

 UICharBuffer (std::size_t capacity)
 
 ~UICharBuffer ()
 
 UICharBuffer (const UICharBuffer &)=delete
 
UICharBufferoperator= (const UICharBuffer &)=delete
 
 UICharBuffer (UICharBuffer &&other) noexcept
 
UICharBufferoperator= (UICharBuffer &&other) noexcept
 
std::string asString () const
 
StringRef asStringRef () const
 
void clear ()
 
void append (const UICharBuffer &other)
 
void append (const std::string &other)
 

Detailed Description

A character buffer for edition.

See also
UI::edit()

Constructor & Destructor Documentation

◆ UICharBuffer() [1/3]

gf::UICharBuffer::UICharBuffer ( std::size_t  capacity)

◆ ~UICharBuffer()

gf::UICharBuffer::~UICharBuffer ( )

◆ UICharBuffer() [2/3]

gf::UICharBuffer::UICharBuffer ( const UICharBuffer )
delete

◆ UICharBuffer() [3/3]

gf::UICharBuffer::UICharBuffer ( UICharBuffer &&  other)
noexcept

Member Function Documentation

◆ append() [1/2]

void gf::UICharBuffer::append ( const UICharBuffer other)

◆ append() [2/2]

void gf::UICharBuffer::append ( const std::string &  other)

◆ asString()

std::string gf::UICharBuffer::asString ( ) const
inline

◆ asStringRef()

StringRef gf::UICharBuffer::asStringRef ( ) const
inline

◆ clear()

void gf::UICharBuffer::clear ( )

◆ operator=() [1/2]

UICharBuffer& gf::UICharBuffer::operator= ( const UICharBuffer )
delete

◆ operator=() [2/2]

UICharBuffer& gf::UICharBuffer::operator= ( UICharBuffer &&  other)
noexcept