32 using T = std::decay_t<
decltype(h)>;
33 return held_type_from_handle<T>();
44 if (!std::visit([](
const auto& h) ->
bool {
return h.is_valid(); },
m_handle)) {
int64_t get_attribute_dimension(const TypedAttributeHandle< T > &handle) const
bool validate_handle(const TypedAttributeHandle< T > &handle) const
std::string get_attribute_name(const TypedAttributeHandle< T > &handle) const
HeldType held_type() const
int64_t dimension() const
std::variant< TypedAttributeHandle< char >, TypedAttributeHandle< int64_t >, TypedAttributeHandle< double >, TypedAttributeHandle< wmtk::Rational > > HandleVariant
bool is_same_mesh(const Mesh &) const
MeshAttributeHandle()=default
bool is_valid() const
Returns true if handle was initialized.