Function ouster::sdk::mapping::constraint_type_from_string

Function Documentation

inline ConstraintType ouster::sdk::mapping::constraint_type_from_string(const std::string &name)

Converts a string to the corresponding ConstraintType enum value.

Parameters:

name[in] – The string name of the constraint type.

Throws:

std::invalid_argument – If the provided name does not match any known ConstraintType.

Returns:

The corresponding ConstraintType enum value.