OSSIA
Open Scenario System for Interactive Application
ossia::value_with_unit Struct Referencefinal

Detailed Description

Unit attached with a corresponding value. e.g. a specific color, or position.

Public Member Functions

 value_with_unit (const value_with_unit &other)=default
 
 value_with_unit (value_with_unit &&other)=default
 
value_with_unitoperator= (const value_with_unit &other)=default
 
value_with_unitoperator= (value_with_unit &&other)=default
 
template<typename T >
 value_with_unit (const T &arg) noexcept
 
auto which () const
 
 operator bool () const
 
template<typename T >
const T * target () const noexcept
 
template<typename T >
T * target () noexcept
 

Public Attributes

strong_value_variant v