SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
SDL::IOStreamParam Struct Reference

Wrapper to be used as parameter to LoadFile_IO() and SaveFile_IO() and similar. More...

Public Member Functions

 IOStreamParam (IOStreamRef stream)
 Constructs from an IOStreamRef, does not take ownership.
 IOStreamParam (IOStream &&stream)
 Constructs from an IOStream, takes ownership.
 IOStreamParam (IOStreamRaw stream, bool closeio=false)
 Constructs from an IOStreamRaw, does not take ownership by default, but can be set to take ownership.

Public Attributes

IOStreamRef stream
 The IOStream to read from or write to.
bool closeio
 Whether to close the IOStream after the operation.

Detailed Description

Wrapper to be used as parameter to LoadFile_IO() and SaveFile_IO() and similar.


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