Loading...
Searching...
No Matches
DataLBInterface.cpp
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#include <DataLBInterface.hpp>
26
27namespace bitpit {
28
29std::size_t DummyDataLBImpl::size(const uint32_t e) const
30{
32
33 return 0;
34}
35
36std::size_t DummyDataLBImpl::fixedSize() const
37{
38 return 0;
39}
40
41void DummyDataLBImpl::move(const uint32_t from, const uint32_t to)
42{
43 BITPIT_UNUSED(from);
44 BITPIT_UNUSED(to);
45}
46
47void DummyDataLBImpl::assign(uint32_t stride, uint32_t length)
48{
49 BITPIT_UNUSED(stride);
50 BITPIT_UNUSED(length);
51}
52
53void DummyDataLBImpl::resize(uint32_t newSize)
54{
55 BITPIT_UNUSED(newSize);
56}
57
58void DummyDataLBImpl::resizeGhost(uint32_t newSize)
59{
60 BITPIT_UNUSED(newSize);
61}
62
63void DummyDataLBImpl::shrink()
64{
65}
66
67};
#define BITPIT_UNUSED(variable)
Definition compiler.hpp:63
--- layout: doxygen_footer ---