IOSS 2.0
Loading...
Searching...
No Matches
Ioss_ConstructedVariableType.h
Go to the documentation of this file.
1// Copyright(C) 1999-2020, 2022, 2024 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 "ioss_export.h"
10
11#include "Ioss_VariableType.h" // for VariableType
12#include <string> // for string
13
14namespace Ioss {
15 class IOSS_EXPORT ConstructedVariableType : public VariableType
16 {
17 public:
18 IOSS_NODISCARD std::string label(int which, char suffix_sep = '_') const override;
19
20 IOSS_NODISCARD VariableType::Type type() const override { return Type::CONSTRUCTED; }
21 IOSS_NODISCARD std::string type_string() const override { return "Constructed"; }
22
23 ConstructedVariableType(const std::string &my_name, int number_components, bool delete_me);
24 explicit ConstructedVariableType(int number_components, bool delete_me);
26 };
27} // namespace Ioss
#define IOSS_NODISCARD
Definition Ioss_CodeTypes.h:55
Definition Ioss_ConstructedVariableType.h:16
ConstructedVariableType(const ConstructedVariableType &)=delete
IOSS_NODISCARD VariableType::Type type() const override
Definition Ioss_ConstructedVariableType.h:20
IOSS_NODISCARD std::string type_string() const override
Definition Ioss_ConstructedVariableType.h:21
A generic variable type.
Definition Ioss_VariableType.h:70
Type
Definition Ioss_VariableType.h:72
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40