Skip to content

Namespace nebula::drivers::io::detail

Namespace List > nebula > drivers > io > detail

Public Functions

Type Name
uint32_t datatype_size (PointField::DataType datatype)
Get size in bytes for a PointField::DataType .
char datatype_to_pcd_type (PointField::DataType datatype)
Convert PointField::DataType to PCD type character.
T parse_value (const std::string & str)
Parse a value from ASCII string to the target type.
uint32_t pcd_type_size (char type, uint32_t size)
Get size in bytes for a PCD type character and size.
std::vector< std::string > split (const std::string & str)
Split string by whitespace.
std::string trim (const std::string & str)
Trim whitespace from string.
std::string value_to_string (T value)
Write a value to ASCII string.

Public Functions Documentation

function datatype_size

Get size in bytes for a PointField::DataType .

inline uint32_t nebula::drivers::io::detail::datatype_size (
    PointField::DataType datatype
) 


function datatype_to_pcd_type

Convert PointField::DataType to PCD type character.

inline char nebula::drivers::io::detail::datatype_to_pcd_type (
    PointField::DataType datatype
) 


function parse_value

Parse a value from ASCII string to the target type.

template<typename T>
T nebula::drivers::io::detail::parse_value (
    const std::string & str
) 


function pcd_type_size

Get size in bytes for a PCD type character and size.

inline uint32_t nebula::drivers::io::detail::pcd_type_size (
    char type,
    uint32_t size
) 


function split

Split string by whitespace.

inline std::vector< std::string > nebula::drivers::io::detail::split (
    const std::string & str
) 


function trim

Trim whitespace from string.

inline std::string nebula::drivers::io::detail::trim (
    const std::string & str
) 


function value_to_string

Write a value to ASCII string.

template<typename T>
std::string nebula::drivers::io::detail::value_to_string (
    T value
) 



The documentation for this class was generated from the following file src/nebula_core/nebula_core_common/include/nebula_core_common/io/pcd.hpp