hash#

Fully qualified name: isaacsim::robot::schema::custom::hash

template<typename E>
struct hash#

Hash function object for enum types.

Provides a hash function for enum types by casting them to std::size_t. This allows enums to be used as keys in unordered containers.

Template Parameters:

E – The enum type to hash.

Public Functions

inline std::size_t operator()(const E &e) const#

Hash function operator for enum values.

Converts an enum value to its underlying integer representation and casts it to std::size_t for use as a hash value.

Parameters:

e – [in] The enum value to hash.

Returns:

Hash value for the enum.