Skip to content

Commit 37aba1d

Browse files
committed
IOSS: Add final to several leaf classes
1 parent a079e70 commit 37aba1d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+112
-112
lines changed

packages/seacas/libraries/ioss/src/Ioss_BasisVariableType.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright(C) 2024 National Technology & Engineering Solutions
2+
* Copyright(C) 2024, 2025 National Technology & Engineering Solutions
33
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
44
* NTESS, the U.S. Government retains certain rights in this software.
55
*
@@ -32,7 +32,7 @@ namespace Ioss {
3232
std::vector<BasisComponent> basies;
3333
};
3434

35-
class IOSS_EXPORT BasisVariableType : public VariableType
35+
class IOSS_EXPORT BasisVariableType final : public VariableType
3636
{
3737
public:
3838
// 'which' is 1-based

packages/seacas/libraries/ioss/src/Ioss_CompositeVariableType.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(C) 1999-2020, 2022, 2024 National Technology & Engineering Solutions
1+
// Copyright(C) 1999-2020, 2022, 2024, 2025 National Technology & Engineering Solutions
22
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
33
// NTESS, the U.S. Government retains certain rights in this software.
44
//
@@ -13,7 +13,7 @@
1313
#include <string> // for string
1414

1515
namespace Ioss {
16-
class IOSS_EXPORT CompositeVariableType : public VariableType
16+
class IOSS_EXPORT CompositeVariableType final : public VariableType
1717
{
1818
public:
1919
IOSS_NODISCARD static std::string composite_name(const std::string &base, int copies);

packages/seacas/libraries/ioss/src/Ioss_ConcreteVariableType.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(C) 1999-2020, 2022, 2023, 2024 National Technology & Engineering Solutions
1+
// Copyright(C) 1999-2020, 2022, 2023, 2024, 2025 National Technology & Engineering Solutions
22
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
33
// NTESS, the U.S. Government retains certain rights in this software.
44
//
@@ -21,7 +21,7 @@ namespace Ioss {
2121
};
2222

2323
#define MAKE_CLASS(X) \
24-
class IOSS_EXPORT X : public VariableType \
24+
class IOSS_EXPORT X final : public VariableType \
2525
{ \
2626
public: \
2727
IOSS_NODISCARD std::string label(int which, const char suffix_sep = '_') const override; \
@@ -37,7 +37,7 @@ namespace Ioss {
3737
private: \
3838
}
3939

40-
class IOSS_EXPORT Invalid_Storage : public VariableType
40+
class IOSS_EXPORT Invalid_Storage final : public VariableType
4141
{
4242
public:
4343
Invalid_Storage(const Invalid_Storage &) = delete;
@@ -54,7 +54,7 @@ namespace Ioss {
5454
Invalid_Storage();
5555
};
5656

57-
class IOSS_EXPORT Scalar : public VariableType
57+
class IOSS_EXPORT Scalar final : public VariableType
5858
{
5959
public:
6060
Scalar(const Scalar &) = delete;

packages/seacas/libraries/ioss/src/Ioss_ConstructedVariableType.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(C) 1999-2020, 2022, 2024 National Technology & Engineering Solutions
1+
// Copyright(C) 1999-2020, 2022, 2024, 2025 National Technology & Engineering Solutions
22
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
33
// NTESS, the U.S. Government retains certain rights in this software.
44
//
@@ -12,7 +12,7 @@
1212
#include <string> // for string
1313

1414
namespace Ioss {
15-
class IOSS_EXPORT ConstructedVariableType : public VariableType
15+
class IOSS_EXPORT ConstructedVariableType final : public VariableType
1616
{
1717
public:
1818
IOSS_NODISCARD std::string label(int which, char suffix_sep = '_') const override;

packages/seacas/libraries/ioss/src/Ioss_EdgeBlock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(C) 1999-2020, 2022, 2023, 2024 National Technology & Engineering Solutions
1+
// Copyright(C) 1999-2020, 2022, 2023, 2024, 2025 National Technology & Engineering Solutions
22
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
33
// NTESS, the U.S. Government retains certain rights in this software.
44
//
@@ -25,7 +25,7 @@ namespace Ioss {
2525

2626
/** \brief A collection of element edges with the same topology.
2727
*/
28-
class IOSS_EXPORT EdgeBlock : public EntityBlock
28+
class IOSS_EXPORT EdgeBlock final : public EntityBlock
2929
{
3030
public:
3131
EdgeBlock(DatabaseIO *io_database, const std::string &my_name, const std::string &edge_type,

packages/seacas/libraries/ioss/src/Ioss_EdgeSet.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(C) 1999-2020, 2022, 2023, 2024 National Technology & Engineering Solutions
1+
// Copyright(C) 1999-2020, 2022, 2023, 2024, 2025 National Technology & Engineering Solutions
22
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
33
// NTESS, the U.S. Government retains certain rights in this software.
44
//
@@ -26,7 +26,7 @@ namespace Ioss {
2626

2727
/** \brief A collection of element edges.
2828
*/
29-
class IOSS_EXPORT EdgeSet : public EntitySet
29+
class IOSS_EXPORT EdgeSet final : public EntitySet
3030
{
3131
public:
3232
EdgeSet(); // Used for template typing only

packages/seacas/libraries/ioss/src/Ioss_ElementBlock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(C) 1999-2024 National Technology & Engineering Solutions
1+
// Copyright(C) 1999-2025 National Technology & Engineering Solutions
22
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
33
// NTESS, the U.S. Government retains certain rights in this software.
44
//
@@ -25,7 +25,7 @@ namespace Ioss {
2525

2626
/** \brief A collection of elements having the same topology.
2727
*/
28-
class IOSS_EXPORT ElementBlock : public EntityBlock
28+
class IOSS_EXPORT ElementBlock final : public EntityBlock
2929
{
3030
public:
3131
ElementBlock(DatabaseIO *io_database, const std::string &my_name,

packages/seacas/libraries/ioss/src/Ioss_ElementSet.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(C) 1999-2020, 2022, 2023, 2024 National Technology & Engineering Solutions
1+
// Copyright(C) 1999-2020, 2022, 2023, 2024, 2025 National Technology & Engineering Solutions
22
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
33
// NTESS, the U.S. Government retains certain rights in this software.
44
//
@@ -26,7 +26,7 @@ namespace Ioss {
2626

2727
/** \brief A collection of elements.
2828
*/
29-
class IOSS_EXPORT ElementSet : public EntitySet
29+
class IOSS_EXPORT ElementSet final : public EntitySet
3030
{
3131
public:
3232
ElementSet(); // Used for template typing only

packages/seacas/libraries/ioss/src/Ioss_FaceBlock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(C) 1999-2020, 2022, 2023, 2024 National Technology & Engineering Solutions
1+
// Copyright(C) 1999-2020, 2022, 2023, 2024, 2025 National Technology & Engineering Solutions
22
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
33
// NTESS, the U.S. Government retains certain rights in this software.
44
//
@@ -25,7 +25,7 @@ namespace Ioss {
2525

2626
/** \brief A collection of element faces with the same topology.
2727
*/
28-
class IOSS_EXPORT FaceBlock : public EntityBlock
28+
class IOSS_EXPORT FaceBlock final : public EntityBlock
2929
{
3030
public:
3131
FaceBlock(DatabaseIO *io_database, const std::string &my_name, const std::string &face_type,

packages/seacas/libraries/ioss/src/Ioss_FaceSet.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(C) 1999-2020, 2022, 2023, 2024 National Technology & Engineering Solutions
1+
// Copyright(C) 1999-2020, 2022, 2023, 2024, 2025 National Technology & Engineering Solutions
22
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
33
// NTESS, the U.S. Government retains certain rights in this software.
44
//
@@ -26,7 +26,7 @@ namespace Ioss {
2626

2727
/** \brief A collection of element faces.
2828
*/
29-
class IOSS_EXPORT FaceSet : public EntitySet
29+
class IOSS_EXPORT FaceSet final : public EntitySet
3030
{
3131
public:
3232
FaceSet(); // Used for template typing only

0 commit comments

Comments
 (0)