openPMD-api
Static Public Member Functions | List of all members
openPMD::detail::DefaultValue< T_RecordComponent > Struct Template Reference

Functor template to be used in combination with switchType::operator() to set a default value for constant record components via the respective type's default constructor. More...

#include <BaseRecordComponent.hpp>

Static Public Member Functions

template<typename T >
static void call (T_RecordComponent &rc)
 
template<unsigned n, typename... Args>
static void call (Args &&...)
 

Detailed Description

template<typename T_RecordComponent>
struct openPMD::detail::DefaultValue< T_RecordComponent >

Functor template to be used in combination with switchType::operator() to set a default value for constant record components via the respective type's default constructor.

Used to implement empty datasets in subclasses of BaseRecordComponent (currently RecordComponent).

Parameters
T_RecordComponent

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