forked from celeritas-project/celeritas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ImporterInterface.hh
30 lines (26 loc) · 993 Bytes
/
ImporterInterface.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
25
26
27
28
29
30
//----------------------------------*-C++-*----------------------------------//
// Copyright 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 celeritas/io/ImporterInterface.hh
//---------------------------------------------------------------------------//
#pragma once
namespace celeritas
{
//---------------------------------------------------------------------------//
struct ImportData;
//---------------------------------------------------------------------------//
/*!
* Construct import data on demand.
*/
class ImporterInterface
{
public:
virtual ImportData operator()() = 0;
protected:
ImporterInterface() = default;
CELER_DEFAULT_COPY_MOVE(ImporterInterface);
};
//---------------------------------------------------------------------------//
} // namespace celeritas