# OFileStream

from pandac.PandaModules import OFileStream

Class : OFileStream
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).

## Inheritance:

OFileStream: ostream
ostream: ios
ios: ios_base
ios_base:

## Methods of OFileStream:

OFileStream (Constructor)
close
open

## Methods of ostream:

flush
put
seekp
tellp

## Methods of ios:

bad
clear
eof
fail
good

## Constants in ios_base:

beg | (seekdir)
cur | (seekdir)
end | (seekdir)

OFileStream OFileStream::OFileStream(void); Description:

close void OFileStream::close(void); Description:

open void OFileStream::open(char const *filename, ios_base::openmode mode = (ios::out)); Description:

flush void ostream::flush(void); Undocumented function.

put void ostream::put(char c); Undocumented function.

seekp void ostream::seekp(unsigned long int pos); Undocumented function.

tellp unsigned long int ostream::tellp(void); Undocumented function.

bad bool ios::bad(void) const; Undocumented function.

clear void ios::clear(void); Undocumented function.

eof bool ios::eof(void) const; Undocumented function.

fail bool ios::fail(void) const; Undocumented function.

good bool ios::good(void) const; Undocumented function.