VirtualSeeker is a simple class that keeps track of a set of specified 'virtual' file endings that mark a subset of a real file.
More...
#include <virtualseeker.h>
VirtualSeeker is a simple class that keeps track of a set of specified 'virtual' file endings that mark a subset of a real file.
An example of its use (and its reason for existence) is to keep track of the file endings of a Zip file embedded in another file.
◆ VirtualSeeker()
zipios::VirtualSeeker::VirtualSeeker |
( |
int |
start_offset = 0 , |
|
|
int |
end_offset = 0 |
|
) |
| |
◆ endOffset()
int zipios::VirtualSeeker::endOffset |
( |
| ) |
const |
◆ getOffsets()
void zipios::VirtualSeeker::getOffsets |
( |
int & |
start_offset, |
|
|
int & |
end_offset |
|
) |
| const |
◆ setOffsets()
void zipios::VirtualSeeker::setOffsets |
( |
int |
start_offset, |
|
|
int |
end_offset |
|
) |
| |
◆ startOffset()
int zipios::VirtualSeeker::startOffset |
( |
| ) |
const |
◆ vseekg()
void zipios::VirtualSeeker::vseekg |
( |
istream & |
is, |
|
|
int |
offset, |
|
|
ios::seekdir |
sd |
|
) |
| const |
◆ vtellg()
int zipios::VirtualSeeker::vtellg |
( |
istream & |
is | ) |
const |
The documentation for this class was generated from the following file:
- FreeCAD/src/zipios++/virtualseeker.h