Home > Support > Documentation

OSRTFileOutputStream Class Reference

#include <OSRTFileOutputStream.h>

Inheritance diagram for OSRTFileOutputStream:

OSRTOutputStream OSRTStream List of all members.

Detailed Description

Generic file output stream. This class opens an existing file for output in binary mode and reads data from it.


Public Member Functions

 OSRTFileOutputStream (const char *pFilename)
 OSRTFileOutputStream (OSRTContext *pContext, const char *pFilename)
 OSRTFileOutputStream (FILE *file)
 OSRTFileOutputStream (OSRTContext *pContext, FILE *file)

Constructor & Destructor Documentation

OSRTFileOutputStream::OSRTFileOutputStream ( const char *  pFilename  ) 

Creates and initializes a file output stream using the name of file.

Parameters:
pFilename Name of file.
Exceptions:
OSStreamException Stream create or initialize failed.
See also:
rtxStreamFileOpen

OSRTFileOutputStream::OSRTFileOutputStream ( OSRTContext pContext,
const char *  pFilename 
)

Creates and initializes a file output stream using the name of file.

Parameters:
pContext Pointer to a context to use.
pFilename Name of file.
Exceptions:
OSStreamException Stream create or initialize failed.
See also:
rtxStreamFileOpen

OSRTFileOutputStream::OSRTFileOutputStream ( FILE *  file  ) 

Initializes the file output stream using the opened FILE structure descriptor.

Parameters:
file Pointer to FILE structure.
Exceptions:
OSStreamException Stream create or initialize failed.
See also:
rtxStreamFileAttach

OSRTFileOutputStream::OSRTFileOutputStream ( OSRTContext pContext,
FILE *  file 
)

Initializes the file output stream using the opened FILE structure descriptor.

Parameters:
pContext Pointer to a context to use.
file Pointer to FILE structure.
Exceptions:
OSStreamException Stream create or initialize failed.
See also:
rtxStreamFileAttach


The documentation for this class was generated from the following file: