28        std::vector<size_t> data;
 
   29        data.emplace_back(handle_hash(handle));
 
   30        data.emplace_back(primitive_hash(handle));
 
 
 
   53class std::hash<
wmtk::attribute::AttributeHandle>
 
   54    : 
public wmtk::hash<wmtk::attribute::AttributeHandle>
 
 
   58class std::hash<
wmtk::attribute::TypedAttributeHandle<double>>
 
   59    : 
public wmtk::hash<wmtk::attribute::TypedAttributeHandle<double>>
 
 
   63class std::hash<
wmtk::attribute::TypedAttributeHandle<int64_t>>
 
   64    : 
public wmtk::hash<wmtk::attribute::TypedAttributeHandle<int64_t>>
 
 
   68class std::hash<
wmtk::attribute::TypedAttributeHandle<char>>
 
   69    : 
public wmtk::hash<wmtk::attribute::TypedAttributeHandle<char>>
 
 
   73class std::hash<
wmtk::attribute::TypedAttributeHandle<wmtk::Rational>>
 
   74    : 
public wmtk::hash<wmtk::attribute::TypedAttributeHandle<wmtk::Rational>>
 
 
   78class std::hash<
wmtk::attribute::MeshAttributeHandle>
 
   79    : 
public wmtk::hash<wmtk::attribute::MeshAttributeHandle>
 
 
Internal handle representation used by TypedAttributeManager.
Handle that represents attributes for some mesh.
size_t primitive_hash(const wmtk::attribute::TypedAttributeHandle< T > &handle) const noexcept
size_t handle_hash(const wmtk::attribute::TypedAttributeHandle< T > &handle) const noexcept
size_t operator()(const wmtk::attribute::TypedAttributeHandle< T > &handle) const noexcept
std::size_t vector_hash(const std::vector< size_t > &data)
constexpr int8_t get_primitive_type_id(PrimitiveType t)
Get a unique integer id corresponding to each primitive type.