20 std::optional<attribute::AttributeType>
type;
31 const std::string_view& p,
32 const std::optional<uint8_t>& dim,
33 const std::optional<attribute::AttributeType>& t)
40 const std::string_view& p,
41 const std::optional<PrimitiveType>& pt,
42 const std::optional<attribute::AttributeType>& t)
46 : std::optional<uint8_t>{},
#define WMTK_NLOHMANN_JSON_FRIEND_DECLARATION(Type)
#define WMTK_NLOHMANN_JSON_DECLARATION(Type)
constexpr int8_t get_primitive_type_id(PrimitiveType t)
Get a unique integer id corresponding to each primitive type.
AttributeDescription(const std::string_view &p, const std::optional< PrimitiveType > &pt, const std::optional< attribute::AttributeType > &t)
AttributeDescription(AttributeDescription &&)=default
std::optional< PrimitiveType > primitive_type() const
AttributeDescription & operator=(AttributeDescription &&)=default
AttributeDescription & operator=(const AttributeDescription &)=default
auto operator==(const AttributeDescription &) const -> bool
AttributeDescription(const AttributeDescription &)=default
AttributeDescription()=default
auto operator<=>(const AttributeDescription &) const -> std::strong_ordering
~AttributeDescription()=default
std::optional< attribute::AttributeType > type
AttributeDescription(const std::string_view &p, const std::optional< uint8_t > &dim, const std::optional< attribute::AttributeType > &t)
std::optional< uint8_t > dimension