Panda3D
|
Implements a C++ stream object suitable for reading from and/or writing to files on disk. More...
#include <pandadoc.hpp>
Public Member Functions | |
__init__ () | |
__init__ (str filename, IosBase::Openmode mode) | |
close () | |
open (str filename, IosBase::Openmode mode) | |
![]() | |
flush () | |
![]() | |
int | get () |
seekg (Streamoff off, IosBase::Seekdir dir) | |
seekg (Streamoff pos) | |
Streamoff | tellg () |
![]() | |
bool | bad () |
clear () | |
bool | eof () |
bool | fail () |
bool | good () |
![]() | |
flush () | |
put (char c) | |
seekp (Streamoff off, IosBase::Seekdir dir) | |
seekp (Streamoff pos) | |
Streamoff | tellp () |
Additional Inherited Members | |
![]() | |
enum | Iostate |
enum | Openmode |
enum | Seekdir { beg = 0 , cur = 1 , end = 2 } |
Implements a C++ stream object suitable for reading from and/or writing to files on disk.
This is similar to fstream, but it provides low-level support for Panda's simple-threading implementation (using this interface will block only the current thread, rather than the entire process, on I/O waits).
__init__ | ( | ) |
__init__ | ( | str | filename, |
IosBase::Openmode | mode ) |
close | ( | ) |
open | ( | str | filename, |
IosBase::Openmode | mode ) |