Teuchos::FileInputStream Class Reference

Instantiation of XMLInputStream class for reading an entire document from a file. More...

#include <Teuchos_FileInputStream.hpp>

Inheritance diagram for Teuchos::FileInputStream:

Teuchos::XMLInputStream List of all members.

Public Member Functions

 FileInputStream (const string &filename)
 Construct with a filename.
virtual ~FileInputStream ()
 Destructor.
virtual unsigned int readBytes (unsigned char *const toFill, const unsigned int maxToRead)
 Read up to maxToRead bytes.

Detailed Description

Instantiation of XMLInputStream class for reading an entire document from a file.

Note:
This is a low-level object and should not be needed at the user level. FileInputSource is the user-level object.

Definition at line 48 of file Teuchos_FileInputStream.hpp.


Constructor & Destructor Documentation

FileInputStream::FileInputStream const string &  filename  ) 
 

Construct with a filename.

Definition at line 34 of file Teuchos_FileInputStream.cpp.

virtual Teuchos::FileInputStream::~FileInputStream  )  [inline, virtual]
 

Destructor.

Definition at line 55 of file Teuchos_FileInputStream.hpp.


Member Function Documentation

unsigned int FileInputStream::readBytes unsigned char *const   toFill,
const unsigned int  maxToRead
[virtual]
 

Read up to maxToRead bytes.

Implements Teuchos::XMLInputStream.

Definition at line 43 of file Teuchos_FileInputStream.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:30:32 2008 for Teuchos - Trilinos Tools Package by doxygen 1.3.9.1