|
cpp-mate
0.7
Helpful library for C++.
|
Represents fast file reader with platform-dependent implementation. More...
#include <FileReader.hpp>


Public Member Functions | |
| virtual std::string | getFilename () const =0 |
| Returns name of file. More... | |
Public Member Functions inherited from CppMate::BinaryData | |
| virtual | ~BinaryData ()=default |
| virtual const uint8_t * | getData () const =0 |
| Returns address of data. More... | |
| virtual uint64_t | getSize () const =0 |
| Returns size of data in bytes. More... | |
| bool | hasData () const |
| Returns status of a data presence. More... | |
| bool | operator== (const BinaryData &other) const |
| operator == More... | |
| bool | operator!= (const BinaryData &other) const |
| operator != More... | |
Static Public Member Functions | |
| static std::shared_ptr< FileReader > | read (const std::string &filename) |
| Reads file. More... | |
Represents fast file reader with platform-dependent implementation.
|
pure virtual |
Returns name of file.
|
static |
Reads file.
| filename | name of the file. |
| std::ifstream::failure,std::bad_alloc |