Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions
FileStream Class Reference

Implements a C++ stream object suitable for reading from and/or writing to files on disk. More...

Inheritance diagram for FileStream:
iostream istream ostream ios ios ios_base ios_base

List of all members.

Public Member Functions

 FileStream ()
 FileStream (string filename, openmode mode)
 FileStream (string filename)
 close ()
 open (string filename, openmode mode)
 open (string filename)

Detailed Description

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).


Constructor & Destructor Documentation

FileStream ( string  filename,
openmode  mode 
)
FileStream ( string  filename)

Member Function Documentation

close ( )
open ( string  filename,
openmode  mode 
)
open ( string  filename)
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties