MeshLib
 
Loading...
Searching...
No Matches
MR::UI::TestEngine::detail Namespace Reference

Classes

struct  BoundedValue
 
struct  BoundedValue< std::string >
 

Typedefs

template<typename T >
using UnderlyingValueType = std::conditional_t<std::is_floating_point_v<T>, double, std::conditional_t<std::is_signed_v<T>, std::int64_t, std::uint64_t>>
 

Functions

template<typename T >
MRVIEWER_API std::optional< T > createValueLow (std::string_view name, std::optional< BoundedValue< T > > value)
 
template MRVIEWER_API std::optional< std::int64_t > createValueLow (std::string_view name, std::optional< BoundedValue< std::int64_t > > value)
 
template MRVIEWER_API std::optional< std::uint64_t > createValueLow (std::string_view name, std::optional< BoundedValue< std::uint64_t > > value)
 
template MRVIEWER_API std::optional< double > createValueLow (std::string_view name, std::optional< BoundedValue< double > > value)
 
template MRVIEWER_API std::optional< std::string > createValueLow (std::string_view name, std::optional< BoundedValue< std::string > > value)
 

Typedef Documentation

◆ UnderlyingValueType

template<typename T >
using MR::UI::TestEngine::detail::UnderlyingValueType = std::conditional_t<std::is_floating_point_v<T>, double, std::conditional_t<std::is_signed_v<T>, std::int64_t, std::uint64_t>>

Function Documentation

◆ createValueLow() [1/5]

template MRVIEWER_API std::optional< double > MR::UI::TestEngine::detail::createValueLow ( std::string_view name,
std::optional< BoundedValue< double > > value )
extern

◆ createValueLow() [2/5]

template MRVIEWER_API std::optional< std::int64_t > MR::UI::TestEngine::detail::createValueLow ( std::string_view name,
std::optional< BoundedValue< std::int64_t > > value )
extern

◆ createValueLow() [3/5]

template MRVIEWER_API std::optional< std::string > MR::UI::TestEngine::detail::createValueLow ( std::string_view name,
std::optional< BoundedValue< std::string > > value )
extern

◆ createValueLow() [4/5]

template MRVIEWER_API std::optional< std::uint64_t > MR::UI::TestEngine::detail::createValueLow ( std::string_view name,
std::optional< BoundedValue< std::uint64_t > > value )
extern

◆ createValueLow() [5/5]

template<typename T >
MRVIEWER_API std::optional< T > MR::UI::TestEngine::detail::createValueLow ( std::string_view name,
std::optional< BoundedValue< T > > value )
nodiscard