SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
Public Member Functions | List of all members

Semi-safe reference for IConv.

Inheritance diagram for SDL::IConvRef:
Inheritance graph
[legend]
Collaboration diagram for SDL::IConvRef:
Collaboration graph
[legend]

Public Member Functions

 IConvRef (IConvParam resource)
 Constructs from IConvParam. More...
 
 IConvRef (const IConvRef &other)
 Copy constructor.
 
 ~IConvRef ()
 Destructor.
 
- Public Member Functions inherited from SDL::IConv
constexpr IConv ()=default
 Default ctor.
 
constexpr IConv (const IConvRaw resource)
 Constructs from IConvParam. More...
 
constexpr IConv (const IConv &other)=delete
 Copy constructor.
 
constexpr IConv (IConv &&other)
 Move constructor.
 
constexpr IConv (const IConvRef &other)=delete
 
constexpr IConv (IConvRef &&other)=delete
 
 IConv (StringParam tocode, StringParam fromcode)
 This function allocates a context for the specified character set conversion. More...
 
 ~IConv ()
 Destructor.
 
IConvoperator= (IConv other)
 Assignment operator.
 
constexpr IConvRaw get () const
 Retrieves underlying IConvRaw.
 
constexpr IConvRaw release ()
 Retrieves underlying IConvRaw and clear this.
 
constexpr auto operator<=> (const IConv &other) const =default
 Comparison.
 
constexpr bool operator== (std::nullptr_t _) const
 Comparison.
 
constexpr operator bool () const
 Converts to bool.
 
constexpr operator IConvParam () const
 Converts to IConvParam.
 
int close ()
 This function frees a context used for character set conversion. More...
 
size_t iconv (const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)
 This function converts text between encodings, reading from and writing to a buffer. More...
 

Constructor & Destructor Documentation

◆ IConvRef()

SDL::IConvRef::IConvRef ( IConvParam  resource)
inline
Parameters
resourcea IConvRaw or IConv.

This does not takes ownership!


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