Template Class DiskReader
Defined in File TwoLevelMemory.h
Class Documentation
-
template<class T>
class DiskReader reads a file through a buffer of one block, B items of the memory
Public Functions
-
explicit DiskReader(const DiskFile<T> &f)
the buffer is taken from the memory of f
- Pre:
B items of memory are free
-
DiskReader(const DiskReader&) = delete
-
DiskReader &operator=(const DiskReader&) = delete
-
bool hasNext(void) const
the items not yet scanned
-
std::size_t position(void) const
the place of the scan
-
explicit DiskReader(const DiskFile<T> &f)