|
|
|||
File indexing completed on 2026-10-27 09:40:51
0001 //------------------------------- -*- C++ -*- -------------------------------// 0002 // Copyright Celeritas contributors: see top-level COPYRIGHT file for details 0003 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 0004 //---------------------------------------------------------------------------// 0005 //! \file orange/OrangeTypesIO.json.hh 0006 //---------------------------------------------------------------------------// 0007 #pragma once 0008 0009 #include <nlohmann/json.hpp> 0010 0011 #include "OrangeTypes.hh" 0012 0013 namespace celeritas 0014 { 0015 //---------------------------------------------------------------------------// 0016 0017 template<class T> 0018 void from_json(nlohmann::json const& j, Tolerance<T>& value); 0019 template<class T> 0020 void to_json(nlohmann::json& j, Tolerance<T> const& value); 0021 0022 extern template void from_json(nlohmann::json const&, Tolerance<real_type>&); 0023 extern template void to_json(nlohmann::json&, Tolerance<real_type> const&); 0024 0025 void from_json(nlohmann::json const& j, LogicNotation& value); 0026 void to_json(nlohmann::json& j, LogicNotation const& value); 0027 0028 //---------------------------------------------------------------------------// 0029 } // namespace celeritas
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|