WP5PrefixData.h Source File documentation

WP5PrefixData.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /* libwpd
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) 2005 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 * For further information visit http://libwpd.sourceforge.net
20 */
21
22 /* "This product is not manufactured, approved, or supported by
23 * Corel Corporation or Corel Corporation Limited."
24 */
25
26 #ifndef WP5PREFIXDATA_H
27 #define WP5PREFIXDATA_H
28
29 #include <map>
30 #include <memory>
31 #include <vector>
32 #include "WP5GeneralPacketData.h"
33
34 class WP5PrefixData
35 {
36 public:
37 WP5PrefixData(librevenge::RVNGInputStream *input, WPXEncryption *encryption);
38 virtual ~WP5PrefixData();
39 const WP5GeneralPacketData *getGeneralPacketData(const int type) const;
40 private:
41 std::map<int, std::unique_ptr<WP5GeneralPacketData>> m_generalPacketData;
42 };
43
44 #endif /* WP5PREFIXDATA_H */
45 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP5PrefixData::m_generalPacketData
std::map< int, std::unique_ptr< WP5GeneralPacketData > > m_generalPacketData
Definition: WP5PrefixData.h:41
WP5GeneralPacketIndex
Definition: WP5GeneralPacketIndex.h:34
WP5GeneralPacketIndex.h
WP5SpecialHeaderIndex
Definition: WP5SpecialHeaderIndex.h:33
WP5PrefixData.h
WP5SpecialHeaderIndex.h
WPD_DEBUG_MSG
#define WPD_DEBUG_MSG(M)
Definition: libwpd_internal.h:50
WP5PrefixData::getGeneralPacketData
const WP5GeneralPacketData * getGeneralPacketData(const int type) const
Definition: WP5PrefixData.cpp:99
WP5GeneralPacketIndex::getType
unsigned short getType() const
Definition: WP5GeneralPacketIndex.h:41
WP5PrefixData::~WP5PrefixData
virtual ~WP5PrefixData()
Definition: WP5PrefixData.cpp:95
WP5GeneralPacketData::constructGeneralPacketData
static WP5GeneralPacketData * constructGeneralPacketData(librevenge::RVNGInputStream *input, WPXEncryption *encryption, WP5GeneralPacketIndex *packetIndex)
Definition: WP5GeneralPacketData.cpp:39
libwpd_internal.h
WP5PrefixData
Definition: WP5PrefixData.h:35
WP5SpecialHeaderIndex::getNumOfIndexes
unsigned short getNumOfIndexes() const
Definition: WP5SpecialHeaderIndex.h:40
WP5SpecialHeaderIndex::getIndexBlockSize
unsigned short getIndexBlockSize() const
Definition: WP5SpecialHeaderIndex.h:44
WP5SpecialHeaderIndex::getType
unsigned short getType() const
Definition: WP5SpecialHeaderIndex.h:36
WP5GeneralPacketData.h
WP5PrefixData::WP5PrefixData
WP5PrefixData(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP5PrefixData.cpp:33
WP5GeneralPacketData
Definition: WP5GeneralPacketData.h:33
WP5SpecialHeaderIndex::getNextBlockOffset
unsigned getNextBlockOffset() const
Definition: WP5SpecialHeaderIndex.h:48
WPXEncryption
Definition: WPXEncryption.h:36