Function ouster::sdk::core::attribute_type_name

Function Documentation

std::string ouster::sdk::core::attribute_type_name(AttributeType type)

Short name of type, e.g.

“u32”: its kind (unsigned, integer or float) followed by its width in bits, derived from the C++ type visit_attribute_type() maps it to.

Parameters:

type[in] The attribute scalar type.

Throws:

std::invalid_argument – if type is not a known AttributeType.

Returns:

The type’s short name.