Loading...
Searching...
No Matches
piercedVectorStorage.tpp
1/*---------------------------------------------------------------------------*\
2 *
3 * bitpit
4 *
5 * Copyright (C) 2015-2021 OPTIMAD engineering Srl
6 *
7 * -------------------------------------------------------------------------
8 * License
9 * This file is part of bitpit.
10 *
11 * bitpit is free software: you can redistribute it and/or modify it
12 * under the terms of the GNU Lesser General Public License v3 (LGPL)
13 * as published by the Free Software Foundation.
14 *
15 * bitpit is distributed in the hope that it will be useful, but WITHOUT
16 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18 * License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with bitpit. If not, see <http://www.gnu.org/licenses/>.
22 *
23\*---------------------------------------------------------------------------*/
24
25#ifndef __BITPIT_PIERCED_VECTOR_STORAGE_TPP__
26#define __BITPIT_PIERCED_VECTOR_STORAGE_TPP__
27
28namespace bitpit {
29
37template<typename value_t, typename id_t>
42
50template<typename value_t, typename id_t>
51__PVS_CONST_REFERENCE__ PiercedVectorStorage<value_t, id_t>::front() const
52{
54}
55
63template<typename value_t, typename id_t>
68
76template<typename value_t, typename id_t>
77__PVS_CONST_REFERENCE__ PiercedVectorStorage<value_t, id_t>::back() const
80}
81
90template<typename value_t, typename id_t>
92{
94}
95
104template<typename value_t, typename id_t>
105__PVS_CONST_REFERENCE__ PiercedVectorStorage<value_t, id_t>::at(id_t id) const
106{
108}
109
116template<typename value_t, typename id_t>
117__PVS_REFERENCE__ PiercedVectorStorage<value_t, id_t>::rawAt(std::size_t pos)
118{
120}
121
128template<typename value_t, typename id_t>
129__PVS_CONST_REFERENCE__ PiercedVectorStorage<value_t, id_t>::rawAt(std::size_t pos) const
130{
132}
133
142template<typename value_t, typename id_t>
143__PVS_CONST_REFERENCE__ PiercedVectorStorage<value_t, id_t>::operator[](id_t id) const
144{
146}
147
156template<typename value_t, typename id_t>
158{
160}
161
170template<typename value_t, typename id_t>
175
184template<typename value_t, typename id_t>
189
195template<typename value_t, typename id_t>
200
201}
202
203#endif
void setStaticKernel(const PiercedKernel< id_t > *kernel)
const PiercedKernel< id_t > * getKernel() const
void setDynamicKernel(const PiercedKernel< id_t > *kernel, PiercedSyncMaster::SyncMode syncMode)
__PS_REFERENCE__ at(id_t id, std::size_t k=0)
__PS_REFERENCE__ rawAt(std::size_t pos, std::size_t offset=0)
__PS_REFERENCE__ front(std::size_t k=0)
__PS_REFERENCE__ back(std::size_t k=0)
Kernel of the pierced vector.
void setStaticKernel(const PiercedVectorKernel< id_t > *kernel)
__PVS_REFERENCE__ at(id_t id)
const PiercedVectorKernel< id_t > * getKernel() const
__PVS_REFERENCE__ rawAt(std::size_t pos)
void setDynamicKernel(const PiercedVectorKernel< id_t > *kernel, PiercedSyncMaster::SyncMode syncMode)
__PVS_CONST_REFERENCE__ operator[](id_t id) const
--- layout: doxygen_footer ---