-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IOSS: Helper class to avoid fmt includes in public headers
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Copyright(C) 2024 National Technology & Engineering Solutions | ||
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with | ||
// NTESS, the U.S. Government retains certain rights in this software. | ||
// | ||
// See packages/seacas/LICENSE for details | ||
|
||
// This class should be included if you want to use the lib::fmt | ||
// output for any of the classes shown below: | ||
// * ZoneConnectivity | ||
// * Field | ||
// * BoundaryCondition | ||
|
||
#include <fmt/ostream.h> | ||
|
||
#if FMT_VERSION >= 90000 | ||
#include "Ioss_Field.h" | ||
#include "Ioss_StructuredBlock.h" | ||
#include "Ioss_ZoneConnectivity.h" | ||
|
||
namespace fmt { | ||
template <> struct formatter<Ioss::ZoneConnectivity> : ostream_formatter | ||
{ | ||
}; | ||
|
||
template <> struct formatter<Ioss::Field> : ostream_formatter | ||
{ | ||
}; | ||
|
||
template <> struct formatter<Ioss::BoundaryCondition> : ostream_formatter | ||
{ | ||
}; | ||
} // namespace fmt | ||
#endif |