Blender
V3.3
|
#include <BLI_fileops.hh>
Public Member Functions | |
fstream ()=default | |
fstream (const char *filepath, std::ios_base::openmode mode=ios_base::in|ios_base::out) | |
fstream (const std::string &filepath, std::ios_base::openmode mode=ios_base::in|ios_base::out) | |
void | open (StringRefNull filepath, ios_base::openmode mode=ios_base::in|ios_base::out) |
std::fstream subclass that handles UTF-16 encoding on Windows.
For documentation, see https://en.cppreference.com/w/cpp/io/basic_fstream
Definition at line 27 of file BLI_fileops.hh.
|
default |
|
explicit |
Definition at line 14 of file fileops.cc.
References open().
|
explicit |
Definition at line 19 of file fileops.cc.
References open().
void blender::fstream::open | ( | StringRefNull | filepath, |
ios_base::openmode | mode = ios_base::in | ios_base::out |
||
) |
Definition at line 24 of file fileops.cc.
References blender::StringRefNull::c_str(), UTF16_ENCODE, and UTF16_UN_ENCODE.
Referenced by fstream().