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

#include <Ioss_ComposedVariableType.h>

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

Public Member Functions

IOSS_NODISCARD VariableType::Type type () const override
 
IOSS_NODISCARD std::string type_string () const override
 
IOSS_NODISCARD std::string label (int which, char suffix_sep='_') const override
 
 ComposedVariableType (const VariableType *base_type, const VariableType *secondary, bool delete_me)
 
 ComposedVariableType (const ComposedVariableType &)=delete
 
IOSS_NODISCARD const VariableTypeget_base_type () const
 
IOSS_NODISCARD const VariableTypeget_secondary_type () const
 
- Public Member Functions inherited from Ioss::VariableType
 VariableType (const VariableType &)=delete
 
VariableTypeoperator= (const VariableType &)=delete
 
virtual ~VariableType ()=default
 
virtual void print () const
 
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
 

Static Public Member Functions

static IOSS_NODISCARD std::string composed_name (const std::string &base, const std::string &secondary)
 
static IOSS_NODISCARD VariableTypecomposed_variable_type (const VariableType *inst, const VariableType *secondary)
 
- 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 ()
 

Private Attributes

const VariableTypebaseType {nullptr}
 
const VariableTypesecondaryType {nullptr}
 

Additional Inherited Members

- Public Types inherited from Ioss::VariableType
enum class  Type {
  UNKNOWN , SCALAR , STANDARD , COMPOSED ,
  COMPOSITE , CONSTRUCTED , ELEMENT , NAMED_SUFFIX ,
  BASIS , QUADRATURE
}
 
- Protected Member Functions inherited from Ioss::VariableType
 VariableType (const std::string &type, int comp_count, bool delete_me=false)
 

Constructor & Destructor Documentation

◆ ComposedVariableType() [1/2]

Ioss::ComposedVariableType::ComposedVariableType ( const VariableType * base_type,
const VariableType * secondary,
bool delete_me )

◆ ComposedVariableType() [2/2]

Ioss::ComposedVariableType::ComposedVariableType ( const ComposedVariableType & )
delete

Member Function Documentation

◆ composed_name()

std::string Ioss::ComposedVariableType::composed_name ( const std::string & base,
const std::string & secondary )
static

◆ composed_variable_type()

VariableType * Ioss::ComposedVariableType::composed_variable_type ( const VariableType * inst,
const VariableType * secondary )
static

◆ get_base_type()

IOSS_NODISCARD const VariableType * Ioss::ComposedVariableType::get_base_type ( ) const
inline

◆ get_secondary_type()

IOSS_NODISCARD const VariableType * Ioss::ComposedVariableType::get_secondary_type ( ) const
inline

◆ label()

std::string Ioss::ComposedVariableType::label ( int which,
char suffix_sep = '_' ) const
overridevirtual

Implements Ioss::VariableType.

◆ type()

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

Implements Ioss::VariableType.

◆ type_string()

std::string Ioss::ComposedVariableType::type_string ( ) const
overridevirtual

Implements Ioss::VariableType.

Member Data Documentation

◆ baseType

const VariableType* Ioss::ComposedVariableType::baseType {nullptr}
private

◆ secondaryType

const VariableType* Ioss::ComposedVariableType::secondaryType {nullptr}
private

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