MyraMath
Public Member Functions | List of all members
myra::FileInputStream Class Reference

An InputStream that thinly wraps a std::ifstream, for reading from files. More...

#include <FileStreams.h>

Inheritance diagram for myra::FileInputStream:
[legend]
Collaboration diagram for myra::FileInputStream:
[legend]

Public Member Functions

 FileInputStream (const std::string &filename)
 Opens a file for reading.
 
 FileInputStream (const char *filename)
 Opens a file for reading.
 
virtual void read_binary (char *p, size_t n)
 Writes to underlying file.
 
void close ()
 Closes underlying file.
 
- Public Member Functions inherited from myra::InputStream
template<class T >
read ()
 

Detailed Description

An InputStream that thinly wraps a std::ifstream, for reading from files.


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