Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-18 09:09:07

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 celeritas/io/ImporterInterface.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 namespace celeritas
0010 {
0011 //---------------------------------------------------------------------------//
0012 struct ImportData;
0013 
0014 //---------------------------------------------------------------------------//
0015 /*!
0016  * Construct import data on demand.
0017  */
0018 class ImporterInterface
0019 {
0020   public:
0021     virtual ImportData operator()() = 0;
0022 
0023   protected:
0024     ImporterInterface() = default;
0025     CELER_DEFAULT_COPY_MOVE(ImporterInterface);
0026     ~ImporterInterface() = default;
0027 };
0028 
0029 //---------------------------------------------------------------------------//
0030 }  // namespace celeritas