Home > Support > Documentation

OSRTFileOutputStream Class Reference

Generic file output stream. More...

#include <OSRTFileOutputStream.h>

Inheritance diagram for OSRTFileOutputStream:

OSRTOutputStream OSRTStream OSRTOutputStreamIF OSRTCtxtHolder OSRTStreamIF OSRTStreamIF OSRTCtxtHolderIF OSRTCtxtHolderIF OSRTCtxtHolderIF List of all members.

Public Member Functions

EXTRTMETHOD OSRTFileOutputStream (const char *pFilename)
 Creates and initializes a file output stream using the name of file.
EXTRTMETHOD OSRTFileOutputStream (OSRTContext *pContext, const char *pFilename)
 Creates and initializes a file output stream using the name of file.
EXTRTMETHOD OSRTFileOutputStream (FILE *file)
 Initializes the file output stream using the opened FILE structure descriptor.
EXTRTMETHOD OSRTFileOutputStream (OSRTContext *pContext, FILE *file)
 Initializes the file output stream using the opened FILE structure descriptor.

Detailed Description

Generic file output stream.

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

Definition at line 37 of file OSRTFileOutputStream.h.


Constructor & Destructor Documentation

EXTRTMETHOD 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

EXTRTMETHOD 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

EXTRTMETHOD 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

EXTRTMETHOD 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: