Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice 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 INCLUDED_SVL_CURRENCYTABLE_HXX
11 : #define INCLUDED_SVL_CURRENCYTABLE_HXX
12 :
13 : #include <svl/svldllapi.h>
14 : #include <svl/zforlist.hxx>
15 : #include <boost/ptr_container/ptr_vector.hpp>
16 :
17 172 : class SVL_DLLPUBLIC NfCurrencyTable
18 : {
19 : typedef boost::ptr_vector<NfCurrencyEntry> DataType;
20 : DataType maData;
21 : public:
22 : typedef DataType::iterator iterator;
23 : typedef DataType::const_iterator const_iterator;
24 :
25 : iterator begin();
26 : const_iterator begin() const;
27 :
28 : NfCurrencyEntry& operator[] ( size_t i );
29 : const NfCurrencyEntry& operator[] ( size_t i ) const;
30 :
31 : size_t size() const;
32 :
33 : void insert( iterator it, NfCurrencyEntry* p );
34 : };
35 :
36 : #endif
37 :
38 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|