Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::components::Unit Struct Reference

Component: Unit of a measured value, e.g. More...

#include <rerun/components/unit.hpp>

Public Member Functions

 Unit (const char *str)
 Construct Unit from a null-terminated UTF8 string.
 
const char * c_str () const
 
 Unit (rerun::encodings::Utf8 value_)
 
Unitoperator= (rerun::encodings::Utf8 value_)
 
 Unit (std::string value_)
 
Unitoperator= (std::string value_)
 
 operator rerun::encodings::Utf8 () const
 Cast to the underlying Utf8 encoding.
 

Public Attributes

rerun::encodings::Utf8 value
 

Detailed Description

Component: Unit of a measured value, e.g.

"Pa", "lux", "°C", "m".

Used for display only. It does not convert or scale the value.

This type is unstable and may change significantly in a way that the data won't be backwards compatible.


The documentation for this struct was generated from the following file: