RVNGStringVector.h Source File documentation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

RVNGStringVector.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /* librevenge
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) 2012 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
20 #ifndef RVNGSTRINGVECTOR_H
21 #define RVNGSTRINGVECTOR_H
22
23 #include "librevenge-api.h"
24
25 #include "RVNGString.h"
26
27 namespace librevenge
28 {
29
30 class RVNGStringVectorImpl;
31
32 class REVENGE_API RVNGStringVector
33 {
34 public:
35 RVNGStringVector();
36 RVNGStringVector(const RVNGStringVector &vec);
37 ~RVNGStringVector();
38
39 RVNGStringVector &operator=(const RVNGStringVector &vec);
40
41 unsigned size() const;
42 bool empty() const;
43 const RVNGString &operator[](unsigned idx) const;
44 void append(const RVNGString &str);
45 void clear();
46
47 private:
48 RVNGStringVectorImpl *m_pImpl;
49 };
50
51 }
52
53 #endif /* RVNGSTRINGVECTOR_H */
54 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge
Definition: RVNGBinaryData.cpp:38
librevenge::RVNGStringVector::m_pImpl
RVNGStringVectorImpl * m_pImpl
Definition: RVNGStringVector.h:48
RVNGString.h
librevenge::RVNGStringVectorImpl
Definition: RVNGStringVector.cpp:26
REVENGE_API
#define REVENGE_API
Definition: librevenge-api.h:34
librevenge-api.h
librevenge::RVNGString
Definition: RVNGString.h:31
librevenge::RVNGStringVector
Definition: RVNGStringVector.h:32