IOSS 2.0
Loading...
Searching...
No Matches
Ioad_IOFactory.h
Go to the documentation of this file.
1// Copyright(C) 1999-2020, 2022 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#pragma once
8
9#include "ioad_export.h"
10
11#include "Ioss_CodeTypes.h"
12#include "Ioss_DBUsage.h" // for DatabaseUsage
13#include "Ioss_DatabaseIO.h" // for DatabaseIO
14#include "Ioss_IOFactory.h" // for IOFactory
15#include <string> // for string
16
17namespace Ioss {
18 class PropertyManager;
19}
20
21namespace Ioad {
22
23 class IOAD_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 std::string show_config() const override;
34 };
35} // namespace Ioad
int Ioss_MPI_Comm
Definition Ioss_CodeTypes.h:64
Definition Ioad_IOFactory.h:24
An input or output Database.
Definition Ioss_DatabaseIO.h:63
The main public user interface for creating Ioss::DatabaseIO objects.
Definition Ioss_IOFactory.h:35
A collection of Ioss::Property objects.
Definition Ioss_PropertyManager.h:36
A namespace for the adios database format.
Definition AdiosWrapper.C:11
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40
DatabaseUsage
Specifies how an Ioss::DatabaseIO object will be used.
Definition Ioss_DBUsage.h:13