1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
3
* Version: MPL 2.0 / LGPLv2.1+
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/.
9
* Major Contributor(s):
10
* Copyright (C) 2005 William Lachance (wrlach@gmail.com)
11
* Copyright (C) 2006 Fridrich Strba (fridrich.strba@bluewin.ch)
13
* For minor contributions see the git repository.
15
* Alternatively, the contents of this file may be used under the terms
16
* of the GNU Lesser General Public License Version 2.1 or later
17
* (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
18
* applicable instead of those above.
20
* For further information visit http://libwpd.sourceforge.net
23
/* "This product is not manufactured, approved, or supported by
24
* Corel Corporation or Corel Corporation Limited."
27
#ifndef WPXPROPERTYLISTVECTOR_H
28
#define WPXPROPERTYLISTVECTOR_H
30
#include "WPXPropertyList.h"
32
class WPXPropertyListVectorImpl;
33
class WPXPropertyListVectorIterImpl;
35
class WPXPropertyListVector
38
WPXPropertyListVector(const WPXPropertyListVector &);
39
WPXPropertyListVector();
40
virtual ~WPXPropertyListVector();
41
void append(const WPXPropertyList &elem);
42
void append(const WPXPropertyListVector &vec);
43
unsigned long count() const;
44
const WPXPropertyList &operator[](unsigned long index) const;
45
WPXPropertyListVector &operator=(const WPXPropertyListVector &vect);
50
Iter(const WPXPropertyListVector &vect);
55
const WPXPropertyList &operator()() const;
58
WPXPropertyListVectorIterImpl *m_iterImpl;
60
Iter &operator=(const Iter &);
63
friend class WPXPropertyListVector::Iter;
66
WPXPropertyListVectorImpl *m_impl;
69
#endif /* WPXPROPERTYLISTVECTOR_H */
70
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */