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 size_t. This allows enums to be used as keys in unordered containers.

Template Parameters:

E – The enum type to provide hashing for

Public Functions

inline 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 size_t for use as a hash value.

Parameters:

e[in] The enum value to hash

Returns:

size_t Hash value for the enum