LibreOffice Module svl (master) 1
currencytable.hxx
Go to the documentation of this file.
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
16#include <vector>
17
19{
20 typedef std::vector<NfCurrencyEntry> DataType;
22
24 void operator=(NfCurrencyTable const&) = delete;
25
26public:
28 typedef DataType::iterator iterator;
29 typedef DataType::const_iterator const_iterator;
30
32
33 NfCurrencyEntry& operator[](size_t i);
34 const NfCurrencyEntry& operator[](size_t i) const;
35
36 size_t size() const;
37
38 void insert(const iterator& it, NfCurrencyEntry p);
39};
40
41#endif
42
43/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
DataType::const_iterator const_iterator
NfCurrencyTable(NfCurrencyTable const &)=delete
std::vector< NfCurrencyEntry > DataType
void operator=(NfCurrencyTable const &)=delete
DataType::iterator iterator
size
enumrange< T >::Iterator begin(enumrange< T >)
#define SVL_DLLPUBLIC
Definition: svldllapi.h:28