io_type.h

Enums

enum class ouster::core::IoType

Values:

enumerator OSF
enumerator PCAP
enumerator SENSOR
enumerator BAG
enumerator CSV
enumerator PLY
enumerator PCD
enumerator LAS
enumerator MCAP
enumerator PNG

Functions

IoType ouster::core::io_type(const std::string &source)

Return a OusterIoType given a source arg str

Throws:

std::runtime_error – if IoType is unknown

IoType ouster::core::io_type_from_extension(const std::string &filename)

Return an OusterIoType given the file extension for the provided file path

Throws:

std::runtime_error – if IoType is unknown

nonstd::optional<std::string> ouster::core::extension_from_io_type(IoType type)

Return a file extension for the given source type, if it’s a file-based source.