IOSS  2.0
Ioad_TemplateToValue.h
Go to the documentation of this file.
1 // Copyright(C) 1999-2020 National Technology & Engineering Solutions
2 // of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
3 // NTESS, the U.S. Government retains certain rights in this software.
4 //
5 // See packages/seacas/LICENSE for details
6 
7 #ifndef IOSS_Ioad_TemplateToValue_h
8 #define IOSS_Ioad_TemplateToValue_h
9 
10 namespace Ioad {
11 
12  template <typename T> constexpr Ioss::Field::BasicType template_to_basic_type() noexcept;
13 
14  // Only implement for a few specialized classes on purpose. No generic implementation.
15  template <typename T> constexpr char const *get_entity_type() noexcept;
16 
17  template <class T> inline std::string GetType() noexcept;
18 
19 } // namespace Ioad
20 
21 #include "adios/Ioad_TemplateToValue.hpp"
22 
23 #endif
Ioad::template_to_basic_type
constexpr Ioss::Field::BasicType template_to_basic_type() noexcept
Ioad
A namespace for the adios database format.
Definition: AdiosWrapper.C:11
Ioad::GetType
std::string GetType() noexcept
Ioad::get_entity_type
constexpr char const * get_entity_type() noexcept
Ioss::Field::BasicType
BasicType
The basic data type held in the field.
Definition: Ioss_Field.h:26