IODA
Fill.cpp
Go to the documentation of this file.
1
/*
2
* (C) Copyright 2020 UCAR
3
*
4
* This software is licensed under the terms of the Apache Licence Version 2.0
5
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6
*/
7
/// \file Fill.cpp
8
/// \brief Fill value getters and setters
9
10
#include "
ioda/Variables/Fill.h
"
11
12
#include "
ioda/Group.h
"
13
14
namespace
ioda
{
15
namespace
detail {
16
FillValueData_t::FillValueUnion_t
FillValueData_t::finalize
()
const
{
17
FillValueData_t::FillValueUnion_t
ret =
fillValue_
;
18
if
(
isString_
) ret.
cp
=
stringFillValue_
.c_str();
// NOLINT
19
return
ret;
20
}
21
}
// namespace detail
22
namespace
FillValuePolicies {
23
24
}
// namespace FillValuePolicies
25
}
// namespace ioda
Fill.h
Fill value getters and setters.
Group.h
Interfaces for ioda::Group and related classes.
ioda
Definition:
FileFormat.cc:11
ioda::detail::FillValueData_t::finalize
FillValueUnion_t finalize() const
Definition:
Fill.cpp:16
ioda::detail::FillValueData_t::stringFillValue_
std::string stringFillValue_
Definition:
Fill.h:53
ioda::detail::FillValueData_t::fillValue_
union ioda::detail::FillValueData_t::FillValueUnion_t fillValue_
ioda::detail::FillValueData_t::isString_
bool isString_
Definition:
Fill.h:55
ioda::detail::FillValueData_t::FillValueUnion_t
Definition:
Fill.h:36
ioda::detail::FillValueData_t::FillValueUnion_t::cp
const char * cp
Definition:
Fill.h:38
mpas-bundle
ioda
src
engines
ioda
src
ioda
Fill.cpp
Generated on Wed Sep 8 2021 16:47:02 for IODA by
1.9.1