Barracuda Application Server C/C++ Reference
NO
FileZipReader.h
1
/*
2
* ____ _________ __ _
3
* / __ \___ ____ _/ /_ __(_)___ ___ ___ / / ____ ____ _(_)____
4
* / /_/ / _ \/ __ `/ / / / / / __ `__ \/ _ \/ / / __ \/ __ `/ / ___/
5
* / _, _/ __/ /_/ / / / / / / / / / / / __/ /___/ /_/ / /_/ / / /__
6
* /_/ |_|\___/\__,_/_/ /_/ /_/_/ /_/ /_/\___/_____/\____/\__, /_/\___/
7
* /____/
8
*
9
* Barracuda Embedded Web-Server
10
*
11
****************************************************************************
12
* HEADER
13
*
14
* $Id: FileZipReader.h 4914 2021-12-01 18:24:30Z wini $
15
*
16
* COPYRIGHT: Real Time Logic, 2003
17
* http://www.realtimelogic.com
18
*
19
* The copyright to the program herein is the property of
20
* Real Time Logic. The program may be used or copied only
21
* with the written permission from Real Time Logic or
22
* in accordance with the terms and conditions stipulated in
23
* the agreement under which the program has been supplied.
24
****************************************************************************
25
*
26
*
27
*/
28
#ifndef __FileZipReader_h
29
#define __FileZipReader_h
30
31
#include <ZipFileIterator.h>
32
#include <BaFile.h>
33
48
typedef
struct
FileZipReader
49
#ifdef __cplusplus
50
:
public
ZipReader
51
{
57
FileZipReader
(
const
char
* pathName);
58
61
~FileZipReader
();
62
63
private
:
64
#else
65
{
66
ZipReader
reader;
67
#endif
68
U32 currentOffset;
69
ResIntfPtr fp;
70
}
FileZipReader
;
71
72
#ifdef __cplusplus
73
extern
"C"
{
74
#endif
75
void
FileZipReader_constructor(
FileZipReader
* o,
76
const
char
* pathName);
77
void
FileZipReader_destructor(
FileZipReader
* o);
78
#ifdef __cplusplus
79
}
80
inline
FileZipReader::FileZipReader
(
const
char
* pathName) {
81
FileZipReader_constructor(
this
, pathName); }
82
inline
FileZipReader::~FileZipReader
() {
83
FileZipReader_destructor(
this
); }
84
#endif
85
86
87
#endif
FileZipReader::FileZipReader
FileZipReader(const char *pathName)
The ZipReader constructor opens the Zip-File for reading.
Definition:
FileZipReader.h:80
ZipReader
Abstract interface class for reading a ZipFile.
Definition:
ZipFileIterator.h:72
FileZipReader
Example code that shows you how to write a ZipReader interface for the ZipIo class.
Definition:
FileZipReader.h:51
FileZipReader::~FileZipReader
~FileZipReader()
The destructor closes the file connection.
Definition:
FileZipReader.h:82
examples
FileReader
FileZipReader.h
Barracuda Application Server
documentation generated on Sat May 21 2022 14:05:14