---
name: "zipios_VirtualSeeker"
section: "3"
platform: "linux"
package: "libzipios++-dev"
version: "0.1.5.9+cvs.2007.04.28-6"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/zipios_VirtualSeeker"
---

# zipios\_VirtualSeeker(3)

VirtualSeeker is a simple class that keeps track of a set of specified 'virtual' file endings that mark a subset of a real file.

## NAME

zipios::VirtualSeeker - **VirtualSeeker** is a simple class that keeps track of a set of specified 'virtual' file endings that mark a subset of a real file.

## SYNOPSIS

`#include <virtualseeker.h>`

### Public Member Functions

**VirtualSeeker** (int start\_offset=0, int end\_offset=0)\
 void **setOffsets** (int start\_offset, int end\_offset)\
 void **getOffsets** (int &start\_offset, int &end\_offset) const \
 int **startOffset** () const \
 int **endOffset** () const \
 void **vseekg** (istream &is, int offset, ios::seekdir sd) const \
 int **vtellg** (istream &is) const \

## Detailed Description

**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.

Definition at line 20 of file virtualseeker.h.

## Author

Generated automatically by Doxygen for Zipios++ from the source code.
