C string RAII wrapper.
More...
#include <src/utils/utf8_string.h>
|
| | CStringRAII (char *str) noexcept |
|
| CStringRAII (const CStringRAII &)=delete |
|
CStringRAII & | operator= (const CStringRAII &)=delete |
| | CStringRAII (CStringRAII &&other) noexcept |
| CStringRAII & | operator= (CStringRAII &&other) noexcept |
| const char * | c_str () const noexcept |
| bool | empty () const noexcept |
| Utf8String | to_utf8_string () const |
C string RAII wrapper.
- Note
- UTF8 assumed.
Definition at line 224 of file utf8_string.h.
◆ CStringRAII() [1/2]
| zrythm::utils::CStringRAII::CStringRAII |
( |
char * | str | ) |
|
|
inlinenoexcept |
◆ ~CStringRAII()
| zrythm::utils::CStringRAII::~CStringRAII |
( |
| ) |
|
|
inline |
◆ CStringRAII() [2/2]
| zrythm::utils::CStringRAII::CStringRAII |
( |
CStringRAII && | other | ) |
|
|
inlinenoexcept |
◆ c_str()
| const char * zrythm::utils::CStringRAII::c_str |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ empty()
| bool zrythm::utils::CStringRAII::empty |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator=()
| CStringRAII & zrythm::utils::CStringRAII::operator= |
( |
CStringRAII && | other | ) |
|
|
inlinenoexcept |
◆ to_utf8_string()
| Utf8String zrythm::utils::CStringRAII::to_utf8_string |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: