2#ifndef ZIPIOS_VIRTUALSEEKER_HPP
3#define ZIPIOS_VIRTUALSEEKER_HPP
55 void vseekg(std::istream & is,
offset_t offset, std::ios::seekdir sd)
const;
56 std::streampos
vtellg(std::istream & is)
const;
A virtual class used to see in a file embedded in another.
offset_t startOffset() const
Return the start offset.
offset_t endOffset() const
Return the end offset.
void vseekg(std::istream &is, offset_t offset, std::ios::seekdir sd) const
Seek within the embedded file.
void getOffsets(offset_t &start_offset, offset_t &end_offset) const
Retrieve the current offsets.
std::streampos vtellg(std::istream &is) const
Current position within the sub-file.
void setOffsets(offset_t start_offset, offset_t end_offset)
Set the offsets of the virtual seeker.
The zipios namespace includes the Zipios library definitions.
zipios configuration header.