1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 #ifndef INCLUDED_SVL_CURRENCYTABLE_HXX
11 #define INCLUDED_SVL_CURRENCYTABLE_HXX
13 #include <svl/svldllapi.h>
14 #include <svl/zforlist.hxx>
19 class SVL_DLLPUBLIC NfCurrencyTable
21 typedef std::vector
<std::unique_ptr
<NfCurrencyEntry
>> DataType
;
24 NfCurrencyTable(NfCurrencyTable
const&) = delete;
25 void operator=(NfCurrencyTable
const&) = delete;
29 typedef DataType::iterator iterator
;
30 typedef DataType::const_iterator const_iterator
;
34 NfCurrencyEntry
& operator[] ( size_t i
);
35 const NfCurrencyEntry
& operator[] ( size_t i
) const;
39 void insert(const iterator
& it
, std::unique_ptr
<NfCurrencyEntry
> p
);
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */