length_t

Defined in header: <orcus/types.hpp>

struct length_t

Holds a length value with unit of measurement.

Public Functions

length_t()
length_t(length_unit_t _unit, double _value)
length_t(const length_t &other)
length_t &operator=(const length_t &other)
std::string to_string() const
bool operator==(const length_t &other) const noexcept
bool operator!=(const length_t &other) const noexcept

Public Members

length_unit_t unit
double value