IOSS 2.0
Loading...
Searching...
No Matches
Ioss::NamedSuffixVariableType Class Reference

#include <Ioss_NamedSuffixVariableType.h>

Inheritance diagram for Ioss::NamedSuffixVariableType:
[legend]
Collaboration diagram for Ioss::NamedSuffixVariableType:
[legend]

Public Member Functions

IOSS_NODISCARD std::string label (int which, const char) const override
 
 NamedSuffixVariableType (const std::string &my_name, int number_components, bool delete_me)
 
 NamedSuffixVariableType (const NamedSuffixVariableType &)=delete
 
IOSS_NODISCARD VariableType::Type type () const override
 
IOSS_NODISCARD std::string type_string () const override
 
void add_suffix (size_t which, const std::string &suffix)
 Define the suffix list for this field.
 
void print () const override final
 
- Public Member Functions inherited from Ioss::VariableType
 VariableType (const VariableType &)=delete
 
VariableTypeoperator= (const VariableType &)=delete
 
virtual ~VariableType ()=default
 
IOSS_NODISCARD int component_count () const
 
virtual IOSS_NODISCARD int suffix_count () const
 
IOSS_NODISCARD std::string name () const
 
virtual IOSS_NODISCARD std::string label_name (const std::string &base, int which, char suffix_sep1='_', char suffix_sep2='_', bool suffices_uppercase=false) const
 
virtual IOSS_NODISCARD bool match (const std::vector< Suffix > &suffices) const
 

Private Attributes

Ioss::NameList suffixList {}
 

Additional Inherited Members

- Public Types inherited from Ioss::VariableType
enum class  Type {
  UNKNOWN , SCALAR , STANDARD , COMPOSED ,
  COMPOSITE , CONSTRUCTED , ELEMENT , NAMED_SUFFIX ,
  BASIS , QUADRATURE
}
 
- Static Public Member Functions inherited from Ioss::VariableType
static void alias (const std::string &base, const std::string &syn)
 
static int describe (NameList *names)
 Get the names of variable types known to IOSS.
 
static IOSS_NODISCARD NameList describe ()
 Get the names of variable types known to IOSS.
 
static IOSS_NODISCARD std::vector< Ioss::VariableType * > external_types (Ioss::VariableType::Type type)
 
static bool create_named_suffix_type (const std::string &type_name, const Ioss::NameList &suffices)
 
static bool create_named_suffix_field_type (const std::string &type_name, const Ioss::NameList &suffices)
 
static bool create_basis_type (const std::string &type_name, const Ioss::Basis &basis)
 
static bool create_quadrature_type (const std::string &type_name, const std::vector< Ioss::QuadraturePoint > &quad_points)
 
static bool get_field_type_mapping (const std::string &field, std::string *type)
 
static bool add_field_type_mapping (const std::string &raw_field, const std::string &raw_type)
 
static IOSS_NODISCARD std::string numeric_label (int which, int ncomp, const std::string &name)
 
static IOSS_NODISCARD const VariableTypefactory (const std::string &raw_name, int copies=1)
 
static IOSS_NODISCARD const VariableTypefactory (const std::string &raw_name, const std::string &secondary)
 
static IOSS_NODISCARD const VariableTypefactory (const std::vector< Suffix > &suffices, bool ignore_realn_fields=false)
 
static Registryregistry ()
 
- Protected Member Functions inherited from Ioss::VariableType
 VariableType (const std::string &type, int comp_count, bool delete_me=false)
 

Constructor & Destructor Documentation

◆ NamedSuffixVariableType() [1/2]

Ioss::NamedSuffixVariableType::NamedSuffixVariableType ( const std::string & my_name,
int number_components,
bool delete_me )
inline

◆ NamedSuffixVariableType() [2/2]

Ioss::NamedSuffixVariableType::NamedSuffixVariableType ( const NamedSuffixVariableType & )
delete

Member Function Documentation

◆ add_suffix()

void Ioss::NamedSuffixVariableType::add_suffix ( size_t which,
const std::string & suffix )
inline

Define the suffix list for this field.

◆ label()

IOSS_NODISCARD std::string Ioss::NamedSuffixVariableType::label ( int which,
const char  ) const
inlineoverridevirtual

Implements Ioss::VariableType.

◆ print()

void Ioss::NamedSuffixVariableType::print ( ) const
finaloverridevirtual

Reimplemented from Ioss::VariableType.

◆ type()

IOSS_NODISCARD VariableType::Type Ioss::NamedSuffixVariableType::type ( ) const
inlineoverridevirtual

Implements Ioss::VariableType.

◆ type_string()

IOSS_NODISCARD std::string Ioss::NamedSuffixVariableType::type_string ( ) const
inlineoverridevirtual

Implements Ioss::VariableType.

Member Data Documentation

◆ suffixList

Ioss::NameList Ioss::NamedSuffixVariableType::suffixList {}
private

The documentation for this class was generated from the following files: