Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions

# OFileStream Class Reference

Implements a C++ stream object suitable for writing to files on disk. More...

Inheritance diagram for OFileStream:

List of all members.

## Public Member Functions
| OFileStream ()
| OFileStream (string filename, openmode mode)
| OFileStream (string filename)
| close ()
| open (string filename)
| open (string filename, openmode mode)

## Detailed Description

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

## Constructor & Destructor Documentation

OFileStream | ( |  | ) |

OFileStream | ( | string | filename,
|  | openmode | mode
| ) |  |

OFileStream | ( | string | filename | ) |

## Member Function Documentation

close | ( |  | ) |

open | ( | string | filename,
|  | openmode | mode
| ) |  |

open | ( | string | filename | ) |

All Classes Namespaces Functions Variables Enumerations Enumerator Properties