A file opened in text mode. More...
#include <iarchive.h>
Public Member Functions | |
virtual | ~ArchiveTextFile () |
virtual std::size_t | size ()=0 |
virtual TextInputStream & | getInputStream ()=0 |
Returns the stream associated with this file. Subsequent calls return the same stream. The stream may be read forwards until it is exhausted. The stream remains valid for the lifetime of the file. | |
virtual std::string | getString () |
A file opened in text mode.
Definition at line 54 of file iarchive.h.
virtual ArchiveTextFile::~ArchiveTextFile | ( | ) | [inline, virtual] |
Definition at line 57 of file iarchive.h.
virtual TextInputStream& ArchiveTextFile::getInputStream | ( | ) | [pure virtual] |
Returns the stream associated with this file. Subsequent calls return the same stream. The stream may be read forwards until it is exhausted. The stream remains valid for the lifetime of the file.
Implemented in StoredArchiveTextFile, DirectoryArchiveTextFile, and DeflatedArchiveTextFile.
Referenced by getString().
virtual std::string ArchiveTextFile::getString | ( | ) | [inline, virtual] |
Return the contents of this file in the form of a string.
Definition at line 74 of file iarchive.h.
References getInputStream(), and string.
virtual std::size_t ArchiveTextFile::size | ( | ) | [pure virtual] |
Implemented in StoredArchiveTextFile, DirectoryArchiveTextFile, and DeflatedArchiveTextFile.