crashtesting: only warn about outsize scretch value
[LibreOffice.git] / include / svl / currencytable.hxx
bloba990ba4e00f91d3b7942057508fddbee9ec7ee01
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #ifndef INCLUDED_SVL_CURRENCYTABLE_HXX
11 #define INCLUDED_SVL_CURRENCYTABLE_HXX
13 #include <svl/svldllapi.h>
14 #include <svl/zforlist.hxx>
16 #include <vector>
18 class SVL_DLLPUBLIC NfCurrencyTable
20 typedef std::vector<NfCurrencyEntry> DataType;
21 DataType maData;
23 NfCurrencyTable(NfCurrencyTable const&) = delete;
24 void operator=(NfCurrencyTable const&) = delete;
26 public:
27 NfCurrencyTable() {}
28 typedef DataType::iterator iterator;
29 typedef DataType::const_iterator const_iterator;
31 iterator begin();
33 NfCurrencyEntry& operator[](size_t i);
34 const NfCurrencyEntry& operator[](size_t i) const;
36 size_t size() const;
38 void insert(const iterator& it, NfCurrencyEntry p);
41 #endif
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */