QXP3HeaderBase.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3  * This file is part of the libqxp project.
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 
10 #ifndef QXP3HEADERBASE_H_INCLUDED
11 #define QXP3HEADERBASE_H_INCLUDED
12 
13 #include <string>
14 
15 #include "QXPHeader.h"
16 
17 namespace libqxp
18 {
19 
20 class QXP3HeaderBase : public QXPHeader
21 {
22 public:
23  explicit QXP3HeaderBase(const boost::optional<QXPDocument::Type> &fileType = boost::none);
24 
25  bool load(const std::shared_ptr<librevenge::RVNGInputStream> &input) override;
26 
27 protected:
28  std::string m_signature;
29 };
30 
31 }
32 
33 #endif // QXP3HEADERBASE_H_INCLUDED
34 
35 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libqxp::QXPHeader::m_version
unsigned m_version
Definition: QXPHeader.h:59
libqxp::readU16
uint16_t readU16(librevenge::RVNGInputStream *input, bool bigEndian)
Definition: libqxp_utils.cpp:111
libqxp
Definition: libqxp_utils.cpp:24
QXP3HeaderBase.h
libqxp::QXP3HeaderBase::load
bool load(const std::shared_ptr< librevenge::RVNGInputStream > &input) override
Definition: QXP3HeaderBase.cpp:23
libqxp::QXP3HeaderBase::QXP3HeaderBase
QXP3HeaderBase(const boost::optional< QXPDocument::Type > &fileType=boost::none)
Definition: QXP3HeaderBase.cpp:17
libqxp::seek
void seek(librevenge::RVNGInputStream *const input, const unsigned long pos)
Definition: libqxp_utils.cpp:241
libqxp_utils.h
libqxp::QXP3HeaderBase
Definition: QXP3HeaderBase.h:20
libqxp::QXPHeader::m_language
unsigned m_language
Definition: QXPHeader.h:60
libqxp::QXPHeader::isBigEndian
bool isBigEndian() const
Definition: QXPHeader.cpp:30
libqxp::QXPHeader
Definition: QXPHeader.h:40
libqxp::readU8
uint8_t readU8(librevenge::RVNGInputStream *input, bool)
Definition: libqxp_utils.cpp:99
libqxp::QXPHeader::m_proc
unsigned m_proc
Definition: QXPHeader.h:58
libqxp::readString
std::string readString(librevenge::RVNGInputStream *input, const unsigned length)
Definition: libqxp_utils.cpp:217
libqxp::QXP3HeaderBase::m_signature
std::string m_signature
Definition: QXP3HeaderBase.h:28
libqxp::skip
void skip(librevenge::RVNGInputStream *input, unsigned long numBytes)
Definition: libqxp_utils.cpp:234
QXPHeader.h

Generated for libqxp by doxygen 1.8.16