|
MyraMath
|
An InputStream that thinly wraps a std::ifstream, for reading from files. More...
#include <FileStreams.h>
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 > | |
| T | read () |
An InputStream that thinly wraps a std::ifstream, for reading from files.
1.8.13