Poster of Linux kernelThe best gift for a Linux geek
zipios::VirtualSeeker

zipios::VirtualSeeker

Section: C Library Functions (3) Updated: 7 Nov 2008
Local index Up
 

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.


 

Index

NAME
SYNOPSIS
Public Member Functions
Detailed Description
Author

This document was created by man2html, using the manual pages.
Time: 21:59:26 GMT, April 16, 2011