Function ouster::sdk::core::attribute_type_name¶
Defined in File attribute_layout.h
Function Documentation¶
-
std::string ouster::sdk::core::attribute_type_name(AttributeType type)¶
Short name of
type, e.g.“u32”: its kind (
unsigned,integer orfloat) followed by its width in bits, derived from the C++ typevisit_attribute_type()maps it to.- Parameters:
type[in] The attribute scalar type.
- Throws:
std::invalid_argument – if
typeis not a known AttributeType.- Returns:
The type’s short name.