OFileStream

class OFileStream

Bases: ostream

Implements a C++ stream object suitable for writing to files on disk. This is similar to ofstream, 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).

Inheritance diagram

Inheritance diagram of OFileStream

OFileStream(void)
explicit OFileStream(char const *filename, std::ios_base::openmode mode = ::std::ios_base::out)
void close(void)
void open(char const *filename, std::ios_base::openmode mode = ::std::ios_base::out)