Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

OSFileInputStream Class Reference

Generic file input stream. More...

#include <rtxCppFileInputStream.h>

Inheritance diagram for OSFileInputStream:

OSInputStream OSStream OSInputStreamIF OSStreamIF OSStreamIF List of all members.

Public Member Functions

 OSFileInputStream (const char *pFilename)
 Creates and initializes a file input stream using the name of file.
 OSFileInputStream (OSContext *pContext, const char *pFilename)
 Creates and initializes a file input stream using the name of file.
 OSFileInputStream (FILE *file)
 Initializes the file input stream using the opened FILE structure descriptor.
 OSFileInputStream (OSContext *pContext, FILE *file)
 Initializes the file input stream using the opened FILE structure descriptor.

Detailed Description

Generic file input stream.

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

Definition at line 37 of file rtxCppFileInputStream.h.


Constructor & Destructor Documentation

OSFileInputStream::OSFileInputStream const char *  pFilename  ) 
 

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

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

OSFileInputStream::OSFileInputStream OSContext pContext,
const char *  pFilename
 

Creates and initializes a file input 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

OSFileInputStream::OSFileInputStream FILE *  file  ) 
 

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

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

OSFileInputStream::OSFileInputStream OSContext pContext,
FILE *  file
 

Initializes the file input 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:

This file was last modified on 8 Jan 2007.
XBinder, Version 1.1.9