RVNGZipStream.h Source File documentation

RVNGZipStream.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2/* librevenge
3 * Version: MPL 2.0 / LGPLv2.1+
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * Major Contributor(s):
10 * Copyright (C) 2012 Fridrich Strba (fridrich.strba@bluewin.ch)
11 *
12 * For minor contributions see the git repository.
13 *
14 * Alternatively, the contents of this file may be used under the terms
15 * of the GNU Lesser General Public License Version 2.1 or later
16 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
17 * applicable instead of those above.
18 */
19
20#ifndef RVNGZIPSTREAM_H
21#define RVNGZIPSTREAM_H
22
23#include <string>
24#include <vector>
25
26namespace librevenge
27{
28
29class RVNGInputStream;
30
31 class RVNGZipStream
32{
33public:
34 static bool isZipFile(RVNGInputStream *input);
35
36 static std::vector<std::string> getSubStreamNamesList(RVNGInputStream *input);
37 static RVNGInputStream *getSubstream(RVNGInputStream *input, const char *name);
38};
39
40}
41
42#endif // RVNGZIPSTREAM_H
43/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge::RVNGInputStream
Definition RVNGStream.h:34
librevenge::RVNGZipStream
Definition RVNGZipStream.h:32
librevenge::RVNGZipStream::isZipFile
static bool isZipFile(RVNGInputStream *input)
Definition RVNGZipStream.cpp:401
librevenge::RVNGZipStream::getSubstream
static RVNGInputStream * getSubstream(RVNGInputStream *input, const char *name)
Definition RVNGZipStream.cpp:429
librevenge::RVNGZipStream::getSubStreamNamesList
static std::vector< std::string > getSubStreamNamesList(RVNGInputStream *input)
Definition RVNGZipStream.cpp:424
librevenge
Definition RVNGBinaryData.cpp:40