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

Google


Objective Systems, Inc.

OSCFileInputStream Class Reference
[Generic Input Stream Classes]

#include <OSCInputStream.h>

Inheritance diagram for OSCFileInputStream:

OSCInputStream OSCStream List of all members.

Detailed Description

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


Public Member Functions

 OSCFileInputStream (const char *pFilename)
 OSCFileInputStream (FILE *file)


Constructor & Destructor Documentation

OSCFileInputStream::OSCFileInputStream const char *  pFilename  ) 
 

Creates and initializes a file input stream using the name of file. Use getStatus() method to determine has error occured during the initialization or not.

Parameters:
pFilename Name of file.
See also:
rtStreamFileOpen

OSCFileInputStream::OSCFileInputStream FILE *  file  ) 
 

Initializes the file input stream using the opened FILE structure descriptor. Use getStatus() method to determine has error occured during the initialization or not.

Parameters:
file Pointer to FILE structure.
See also:
rtStreamFileAttach


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

Copyright © 1997-2005 Objective Systems,Inc.
All Rights Reserved.
This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.

This file was last modified on 8 Sep 2005.
ASN1C C/C++ Common Runtime, ASN1C v5.8x