Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::utils::CStringRAII Class Reference

C string RAII wrapper. More...

#include <src/utils/utf8_string.h>

Public Member Functions

 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

Detailed Description

C string RAII wrapper.

Note
UTF8 assumed.

Definition at line 224 of file utf8_string.h.

Constructor & Destructor Documentation

◆ CStringRAII() [1/2]

zrythm::utils::CStringRAII::CStringRAII ( char * str)
inlinenoexcept

Definition at line 228 of file utf8_string.h.

◆ ~CStringRAII()

zrythm::utils::CStringRAII::~CStringRAII ( )
inline

Definition at line 231 of file utf8_string.h.

◆ CStringRAII() [2/2]

zrythm::utils::CStringRAII::CStringRAII ( CStringRAII && other)
inlinenoexcept

Definition at line 238 of file utf8_string.h.

Member Function Documentation

◆ c_str()

const char * zrythm::utils::CStringRAII::c_str ( ) const
inlinenodiscardnoexcept

Definition at line 255 of file utf8_string.h.

◆ empty()

bool zrythm::utils::CStringRAII::empty ( ) const
inlinenoexcept

Definition at line 257 of file utf8_string.h.

◆ operator=()

CStringRAII & zrythm::utils::CStringRAII::operator= ( CStringRAII && other)
inlinenoexcept

Definition at line 244 of file utf8_string.h.

◆ to_utf8_string()

Utf8String zrythm::utils::CStringRAII::to_utf8_string ( ) const
inline

Definition at line 259 of file utf8_string.h.


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