![]() |
Verovio
Source code documentation
|
This class is a reader for zip archives. More...
#include <filereader.h>
Public Member Functions | |
void | Reset () |
Reset a previously loaded file. | |
bool | Load (const std::string &filename) |
Load a file into memory. | |
bool | LoadBytes (const std::vector< unsigned char > &bytes) |
Load a vector into memory. | |
bool | HasFile (const std::string &filename) |
Check if the archive contains the file. | |
std::string | ReadTextFile (const std::string &filename) |
Read the text file. More... | |
std::list< std::string > | GetFileList () const |
Return a list of all files (including directories) | |
Constructors, destructors, and other standard methods | |
ZipFileReader () | |
~ZipFileReader () | |
This class is a reader for zip archives.
std::string vrv::ZipFileReader::ReadTextFile | ( | const std::string & | filename | ) |
Read the text file.
Return an empty string if the file does not exist.