MiKTeX 23.10-next
A scalable TeX distribution
|
Instances of this class store characters. More...
#include <miktex/Util/CharBuffer.h>
Public Member Functions | |
CharBuffer (const CharBuffer &other) | |
CharBuffer (CharBuffer &&other) noexcept | |
CharBuffer & | operator= (const CharBuffer &other) |
CharBuffer & | operator= (CharBuffer &&other) noexcept |
CharBuffer (const char *lpsz) | |
CharBuffer (const char16_t *lpsz) | |
CharBuffer (const wchar_t *lpsz) | |
CharBuffer (const std::basic_string< char > &other) | |
CharBuffer (const std::basic_string< char16_t > &other) | |
CharBuffer (const std::basic_string< wchar_t > &other) | |
CharBuffer (std::size_t n) | |
void | Set (const CharBuffer &other) |
template<typename OtherCharType > | |
void | Set (const OtherCharType *lpsz) |
template<typename OtherCharType > | |
void | Set (const std::basic_string< OtherCharType > &s) |
void | Append (const std::basic_string< CharType > &s) |
void | Append (const CharType *lpsz) |
void | Append (const CharType *s, std::size_t len) |
void | Append (CharType ch) |
void | Clear () |
bool | Empty () const |
void | Reset () |
void | Reserve (std::size_t newSize) |
std::basic_string< CharType > | ToString () const |
const CharType * | GetData () const |
CharType * | GetData () |
std::size_t | GetLength () const |
std::size_t | GetCapacity () const |
const CharType & | operator[] (std::size_t idx) const |
CharType & | operator[] (std::size_t idx) |
template<typename OtherCharType > | |
CharBuffer & | operator= (const OtherCharType *lpsz) |
template<typename OtherCharType > | |
CharBuffer & | operator= (const std::basic_string< OtherCharType > &s) |
CharBuffer & | operator+= (const CharType *lpsz) |
CharBuffer & | operator+= (const std::basic_string< CharType > &s) |
CharBuffer & | operator+= (CharType ch) |
Instances of this class store characters.
|
inline |
Tests if the character sequence is empty.
|
inline |
Converts this CharBuffer object into a string object.