MeshLib
 
Loading...
Searching...
No Matches
MRUITestEngine.h File Reference
#include "MRViewer/exports.h"
#include <cstdint>
#include <limits>
#include <map>
#include <optional>
#include <string_view>
#include <string>
#include <variant>
#include <vector>

Go to the source code of this file.

Classes

struct  MR::UI::TestEngine::detail::BoundedValue< T >
 
struct  MR::UI::TestEngine::ButtonEntry
 
struct  MR::UI::TestEngine::ValueEntry
 
struct  MR::UI::TestEngine::ValueEntry::Value< T >
 
struct  MR::UI::TestEngine::ValueEntry::Value< T >
 
struct  MR::UI::TestEngine::GroupEntry
 
struct  MR::UI::TestEngine::Entry
 

Namespaces

namespace  MR
 
namespace  MR::UI
 
namespace  MR::UI::TestEngine
 
namespace  MR::UI::TestEngine::detail
 

Concepts

concept  MR::UI::TestEngine::AllowedValueType
 

Typedefs

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>>
 

Functions

template<typename T >
MRVIEWER_API std::optional< T > MR::UI::TestEngine::detail::createValueLow (std::string_view name, std::optional< BoundedValue< T > > value)
 
template MRVIEWER_API std::optional< std::int64_t > MR::UI::TestEngine::detail::createValueLow (std::string_view name, std::optional< BoundedValue< std::int64_t > > value)
 
template MRVIEWER_API std::optional< std::uint64_t > MR::UI::TestEngine::detail::createValueLow (std::string_view name, std::optional< BoundedValue< std::uint64_t > > value)
 
template MRVIEWER_API std::optional< double > MR::UI::TestEngine::detail::createValueLow (std::string_view name, std::optional< BoundedValue< double > > value)
 
template MRVIEWER_API std::optional< std::string > MR::UI::TestEngine::detail::createValueLow (std::string_view name, std::optional< BoundedValue< std::string > > value)
 
MRVIEWER_API bool MR::UI::TestEngine::createButton (std::string_view name)
 
template<AllowedValueType T>
requires std::is_arithmetic_v<T>
std::optional< T > MR::UI::TestEngine::createValue (std::string_view name, T value, T min, T max)
 
MRVIEWER_API std::optional< std::string > MR::UI::TestEngine::createValue (std::string_view name, std::string value, std::optional< std::vector< std::string > > allowedValues=std::nullopt)
 
template<AllowedValueType T>
std::optional< T > MR::UI::TestEngine::createValueTentative (std::string_view name)
 
MRVIEWER_API void MR::UI::TestEngine::pushTree (std::string_view name)
 
MRVIEWER_API void MR::UI::TestEngine::popTree ()
 
MRVIEWER_API const GroupEntryMR::UI::TestEngine::getRootEntry ()