forked from celeritas-project/celeritas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ImageIO.json.hh
24 lines (20 loc) · 984 Bytes
/
ImageIO.json.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//----------------------------------*-C++-*----------------------------------//
// Copyright 2020-2024 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//---------------------------------------------------------------------------//
//! \file geocel/rasterize/ImageIO.json.hh
//---------------------------------------------------------------------------//
#pragma once
#include <nlohmann/json.hpp>
namespace celeritas
{
//---------------------------------------------------------------------------//
struct ImageInput;
class ImageParams;
//---------------------------------------------------------------------------//
void to_json(nlohmann::json& j, ImageInput const&);
void from_json(nlohmann::json const& j, ImageInput&);
void to_json(nlohmann::json& j, ImageParams const&);
//---------------------------------------------------------------------------//
} // namespace celeritas