- 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 "RVNGString.h"
24
25 namespace librevenge
26 {
27
28 class RVNGStringVectorImpl;
29
30 class RVNGStringVector
31 {
32 public:
33 RVNGStringVector();
34 RVNGStringVector(const RVNGStringVector &vec);
35 ~RVNGStringVector();
36
37 RVNGStringVector &operator=(const RVNGStringVector &vec);
38
39 unsigned size() const;
40 bool empty() const;
41 const RVNGString &operator[](unsigned idx) const;
42 void append(const RVNGString &str);
43 void clear();
44
45 private:
46 RVNGStringVectorImpl *m_pImpl;
47 };
48
49 }
50
51 #endif /* RVNGSTRINGVECTOR_H */
52 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge::RVNGStringVector::~RVNGStringVector
~RVNGStringVector()
Definition: RVNGStringVector.cpp:44
librevenge::RVNGStringVector::clear
void clear()
Definition: RVNGStringVector.cpp:80
librevenge::RVNGStringVector::m_pImpl
RVNGStringVectorImpl * m_pImpl
Definition: RVNGStringVector.h:46
RVNGString.h
librevenge::RVNGStringVector::operator[]
const RVNGString & operator[](unsigned idx) const
Definition: RVNGStringVector.cpp:70
librevenge::RVNGStringVectorImpl
Definition: RVNGStringVector.cpp:26
librevenge::RVNGStringVector::operator=
RVNGStringVector & operator=(const RVNGStringVector &vec)
Definition: RVNGStringVector.cpp:49
librevenge::RVNGStringVector::empty
bool empty() const
Definition: RVNGStringVector.cpp:65
librevenge::RVNGStringVector::RVNGStringVector
RVNGStringVector()
Definition: RVNGStringVector.cpp:34
librevenge::RVNGStringVector::append
void append(const RVNGString &str)
Definition: RVNGStringVector.cpp:75
librevenge::RVNGString
Definition: RVNGString.h:29
librevenge::RVNGStringVector::size
unsigned size() const
Definition: RVNGStringVector.cpp:60
librevenge::RVNGStringVector
Definition: RVNGStringVector.h:30