Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-22 10:31:24

0001 //----------------------------------*-C++-*----------------------------------//
0002 // Copyright 2024 UT-Battelle, LLC, and other Celeritas developers.
0003 // See the top-level COPYRIGHT file for details.
0004 // SPDX-License-Identifier: (Apache-2.0 OR MIT)
0005 //---------------------------------------------------------------------------//
0006 //! \file celeritas/io/ImporterInterface.hh
0007 //---------------------------------------------------------------------------//
0008 #pragma once
0009 
0010 namespace celeritas
0011 {
0012 //---------------------------------------------------------------------------//
0013 struct ImportData;
0014 
0015 //---------------------------------------------------------------------------//
0016 /*!
0017  * Construct import data on demand.
0018  */
0019 class ImporterInterface
0020 {
0021   public:
0022     virtual ImportData operator()() = 0;
0023 
0024   protected:
0025     ImporterInterface() = default;
0026     CELER_DEFAULT_COPY_MOVE(ImporterInterface);
0027 };
0028 
0029 //---------------------------------------------------------------------------//
0030 }  // namespace celeritas