IWORKMetadataElement.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 libetonyek 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 IWORKMETADATAELEMENT_H_INCLUDED
11#define IWORKMETADATAELEMENT_H_INCLUDED
12
13#include "IWORKXMLContextBase.h"
14
15namespace libetonyek
16{
17
19{
20public:
22
23protected:
24 IWORKXMLContextPtr_t element(int name) override;
25 void endOfElement() override;
26
27private:
28 boost::optional<std::string> m_author;
29 boost::optional<std::string> m_title;
30 boost::optional<std::string> m_keywords;
31 boost::optional<std::string> m_comment;
32};
33
34}
35
36#endif // IWORKMETADATAELEMENT_H_INCLUDED
37
38/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition IWORKMetadataElement.h:19
boost::optional< std::string > m_title
Definition IWORKMetadataElement.h:29
boost::optional< std::string > m_comment
Definition IWORKMetadataElement.h:31
IWORKMetadataElement(IWORKXMLParserState &state)
Definition IWORKMetadataElement.cpp:55
void endOfElement() override
Definition IWORKMetadataElement.cpp:87
boost::optional< std::string > m_author
Definition IWORKMetadataElement.h:28
boost::optional< std::string > m_keywords
Definition IWORKMetadataElement.h:30
Definition IWORKXMLContextBase.h:28
Definition IWORKXMLParserState.h:32
@ element
Definition IWORKToken.h:192
@ name
Definition IWORKToken.h:585
Definition IWORKBezierElement.cpp:21
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition IWORKXMLContext.h:20

Generated for libetonyek by doxygen 1.12.0