|
Blender V4.3
|
#include <BLI_fileops.hh>
Inherits std::fstream.
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 29 of file BLI_fileops.hh.
|
default |
|
explicit |
Definition at line 16 of file fileops.cc.
References open().
|
explicit |
Definition at line 21 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 26 of file fileops.cc.
References blender::StringRefNull::c_str(), UTF16_ENCODE, and UTF16_UN_ENCODE.