VSDXMetaData.h Source File documentation

VSDXMetaData.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 libvisio 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 __VSDXMETADATA_H__
11#define __VSDXMETADATA_H__
12
13#include <librevenge-stream/librevenge-stream.h>
14#include "VSDXMLHelper.h"
15
16namespace libvisio
17{
18
20 class VSDXMetaData
21{
22public:
23 VSDXMetaData();
24 ~VSDXMetaData();
25 bool parse(librevenge::RVNGInputStream *input);
26 const librevenge::RVNGPropertyList &getMetaData();
27
28private:
29 VSDXMetaData(const VSDXMetaData &);
30 VSDXMetaData &operator=(const VSDXMetaData &);
31
32 int getElementToken(xmlTextReaderPtr reader);
33 void readCoreProperties(xmlTextReaderPtr reader);
34 librevenge::RVNGString readString(xmlTextReaderPtr reader, int stringTokenId);
35
36 librevenge::RVNGPropertyList m_metaData;
37};
38
39} // namespace libvisio
40
41#endif // __VSDXMETADATA_H__
42/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
VSDXMLHelper.h
libvisio::VSDXMetaData::m_metaData
librevenge::RVNGPropertyList m_metaData
Definition VSDXMetaData.h:36
libvisio::VSDXMetaData::readString
librevenge::RVNGString readString(xmlTextReaderPtr reader, int stringTokenId)
Definition VSDXMetaData.cpp:26
libvisio::VSDXMetaData::getElementToken
int getElementToken(xmlTextReaderPtr reader)
Definition VSDXMetaData.cpp:155
libvisio::VSDXMetaData::VSDXMetaData
VSDXMetaData(const VSDXMetaData &)
libvisio::VSDXMetaData::operator=
VSDXMetaData & operator=(const VSDXMetaData &)
libvisio::VSDXMetaData::VSDXMetaData
VSDXMetaData()
Definition VSDXMetaData.cpp:17
libvisio::VSDXMetaData::parse
bool parse(librevenge::RVNGInputStream *input)
Definition VSDXMetaData.cpp:115
libvisio::VSDXMetaData::getMetaData
const librevenge::RVNGPropertyList & getMetaData()
Definition VSDXMetaData.cpp:160
libvisio::VSDXMetaData::~VSDXMetaData
~VSDXMetaData()
Definition VSDXMetaData.cpp:22
libvisio::VSDXMetaData::readCoreProperties
void readCoreProperties(xmlTextReaderPtr reader)
Definition VSDXMetaData.cpp:44
libvisio
Definition libvisio_utils.h:49