Loading [MathJax]/extensions/tex2jax.js
IODA
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ioda::detail::FillValueData_t Struct Reference

Container used to store and manipulate fill values. More...

#include <Fill.h>

Collaboration diagram for ioda::detail::FillValueData_t:

Classes

union  FillValueUnion_t
 

Public Member Functions

FillValueUnion_t finalize () const
 

Public Attributes

union ioda::detail::FillValueData_t::FillValueUnion_t fillValue_ = {0}
 
std::string stringFillValue_
 
bool set_ = false
 
bool isString_ = false
 

Detailed Description

Container used to store and manipulate fill values.

When reading a fill value, first always check that the fill value is set (set_ == true). Then, check the type of fill value (string, or a fundamental data type), and then only read the correct field.

When writing a fill value, use the assignFillValue convenience function.

Definition at line 35 of file Fill.h.

Member Function Documentation

◆ finalize()

FillValueData_t::FillValueUnion_t ioda::detail::FillValueData_t::finalize ( ) const

Definition at line 16 of file Fill.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ fillValue_

union ioda::detail::FillValueData_t::FillValueUnion_t ioda::detail::FillValueData_t::fillValue_ = {0}

◆ isString_

bool ioda::detail::FillValueData_t::isString_ = false

Definition at line 55 of file Fill.h.

◆ set_

bool ioda::detail::FillValueData_t::set_ = false

Definition at line 54 of file Fill.h.

◆ stringFillValue_

std::string ioda::detail::FillValueData_t::stringFillValue_

Definition at line 53 of file Fill.h.


The documentation for this struct was generated from the following files: