RVNGStringVector.h Source File documentation

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
27namespace librevenge
28{
29
30class RVNGStringVectorImpl;
31
32 class REVENGE_API RVNGStringVector
33{
34public:
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
47private:
48 RVNGStringVectorImpl *m_pImpl;
49};
50
51}
52
53#endif /* RVNGSTRINGVECTOR_H */
54/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
RVNGString.h
librevenge::RVNGStringVectorImpl
Definition RVNGStringVector.cpp:28
librevenge::RVNGStringVector::operator[]
const RVNGString & operator[](unsigned idx) const
Definition RVNGStringVector.cpp:71
librevenge::RVNGStringVector::clear
void clear()
Definition RVNGStringVector.cpp:81
librevenge::RVNGStringVector::operator=
RVNGStringVector & operator=(const RVNGStringVector &vec)
Definition RVNGStringVector.cpp:50
librevenge::RVNGStringVector::size
unsigned size() const
Definition RVNGStringVector.cpp:61
librevenge::RVNGStringVector::empty
bool empty() const
Definition RVNGStringVector.cpp:66
librevenge::RVNGStringVector::append
void append(const RVNGString &str)
Definition RVNGStringVector.cpp:76
librevenge::RVNGStringVector::m_pImpl
RVNGStringVectorImpl * m_pImpl
Definition RVNGStringVector.h:48
librevenge::RVNGStringVector::RVNGStringVector
RVNGStringVector()
Definition RVNGStringVector.cpp:35
librevenge::RVNGString
UTF-8 string.
Definition RVNGString.h:34
librevenge-api.h
REVENGE_API
#define REVENGE_API
Definition librevenge-api.h:34
librevenge
Definition RVNGBinaryData.cpp:40