Debian Codegraph @

packages/seacas/libraries/ioss/src/visualization/exodus/Iovs_exodus_IOFactory.h

raw
1 // Copyright(C) 1999-2021, 2023 National Technology & Engineering Solutions
2 // of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
3 // NTESS, the U.S. Government retains certain rights in this software.
4 //
5 // See packages/seacas/LICENSE for details
6
7 #ifndef IOSS_Iovs_exodus_IOFactory_h
8 #define IOSS_Iovs_exodus_IOFactory_h
9
10 #include "iovs_export.h"
11
12 #include "Ioss_CodeTypes.h"
13 #include "Ioss_DBUsage.h" // for DatabaseUsage
14 #include "Ioss_DatabaseIO.h" // for DatabaseIO
15 #include "Ioss_IOFactory.h" // for IOFactory
16 #include <string> // for string
17 namespace Ioss {
18 class PropertyManager;
19 } // namespace Ioss
20
21 namespace Iovs_exodus {
22
23 class IOVS_EXPORT IOFactory : public Ioss::IOFactory
24 {
25 public:
26 static const IOFactory *factory();
27
28 private:
29 IOFactory();
30 Ioss::DatabaseIO *make_IO(const std::string &filename, Ioss::DatabaseUsage db_usage,
31 Ioss_MPI_Comm communicator,
32 const Ioss::PropertyManager &properties) const override;
33
34 /**
35 * Call the sierra product registry and register all dependent third-party libraries
36 */
37 void register_library_versions() const;
38 };
39 } // namespace Iovs_exodus
40 #endif // IOSS_Iovs_exodus_IOFactory_h