17#include "ioss_export.h"
42 return m_members.empty() ?
"<EMPTY>" : m_members[0]->type_string();
52 void remove_members();
61 int64_t internal_get_field_data(
const Field &field,
void *data,
62 size_t data_size)
const override;
64 int64_t internal_put_field_data(
const Field &field,
void *data,
65 size_t data_size)
const override;
67 int64_t internal_get_zc_field_data(
const Field &field,
void **data,
68 size_t *data_size)
const override;
#define IOSS_NODISCARD
Definition Ioss_CodeTypes.h:55
A homogeneous collection of other GroupingEntities.
Definition Ioss_Assembly.h:31
IOSS_NODISCARD EntityType type() const override
Get the EntityType, which indicates the particular type of GroupingEntity this is.
Definition Ioss_Assembly.h:44
IOSS_NODISCARD std::string short_type_string() const override
Get a short name of the particular type of entity.
Definition Ioss_Assembly.h:39
IOSS_NODISCARD size_t member_count() const
Definition Ioss_Assembly.h:53
IOSS_NODISCARD std::string type_string() const override
Get the name of the particular type of entity.
Definition Ioss_Assembly.h:38
IOSS_NODISCARD EntityType get_member_type() const
Definition Ioss_Assembly.h:46
EntityContainer m_members
Definition Ioss_Assembly.h:71
IOSS_NODISCARD std::string contains_string() const override
What does this entity contain.
Definition Ioss_Assembly.h:40
Assembly(const Assembly &)=default
An input or output Database.
Definition Ioss_DatabaseIO.h:63
Holds metadata for bulk data associated with a GroupingEntity.
Definition Ioss_Field.h:25
Base class for all 'grouping' entities. The following derived classes are typical:
Definition Ioss_GroupingEntity.h:67
A named value that has a known type.
Definition Ioss_Property.h:27
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40
std::vector< const Ioss::GroupingEntity * > EntityContainer
Definition Ioss_Assembly.h:26
EntityType
The particular type of GroupingEntity.
Definition Ioss_EntityType.h:12
@ INVALID_TYPE
Definition Ioss_EntityType.h:30
@ ASSEMBLY
Definition Ioss_EntityType.h:28