Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces | Typedefs | Functions | Variables
RangedValue.hpp File Reference

Classes

class  castor::RangedValue< T >
 A value inside a range. More...
 
struct  castor::details::Equal< T >
 
struct  castor::details::Equal< uint32_t >
 
struct  castor::IsRangedValueT< T >
 
struct  castor::IsRangedValueT< RangedValue< T > >
 
struct  castor::RangedValueGetterT< T >
 
struct  castor::RangedValueGetterT< RangedValue< T > >
 

Namespaces

namespace  castor
 
namespace  castor::details
 

Typedefs

template<typename T >
using castor::UnRangedValueT = typename RangedValueGetterT< T >::Type
 

Functions

template<typename T >
RangedValue< T > castor::makeRangedValue (T const &value, T const &min, T const &max) noexcept
 Helper function to create a ranged value.
 
Logic operators.
template<typename T >
bool castor::operator== (RangedValue< T > const &lhs, T const &rhs) noexcept
 
template<typename T >
bool castor::operator!= (RangedValue< T > const &lhs, T const &rhs) noexcept
 
template<typename T >
bool castor::operator> (RangedValue< T > const &lhs, T const &rhs) noexcept
 
template<typename T >
bool castor::operator< (RangedValue< T > const &lhs, T const &rhs) noexcept
 
template<typename T >
bool castor::operator>= (RangedValue< T > const &lhs, T const &rhs) noexcept
 
template<typename T >
bool castor::operator<= (RangedValue< T > const &lhs, T const &rhs) noexcept
 
template<typename T >
bool castor::operator== (T const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
bool castor::operator!= (T const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
bool castor::operator> (T const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
bool castor::operator< (T const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
bool castor::operator>= (T const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
bool castor::operator<= (T const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
bool castor::operator== (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
bool castor::operator!= (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
bool castor::operator> (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
bool castor::operator< (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
bool castor::operator>= (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
bool castor::operator<= (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept
 
Arithmetic operators.
template<typename T >
castor::operator+ (T const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
castor::operator- (T const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
castor::operator* (T const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
castor::operator/ (T const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
castor::operator+ (RangedValue< T > const &lhs, T const &rhs) noexcept
 
template<typename T >
castor::operator- (RangedValue< T > const &lhs, T const &rhs) noexcept
 
template<typename T >
castor::operator* (RangedValue< T > const &lhs, T const &rhs) noexcept
 
template<typename T >
castor::operator/ (RangedValue< T > const &lhs, T const &rhs) noexcept
 
template<typename T >
castor::operator+ (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
castor::operator- (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
castor::operator* (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept
 
template<typename T >
castor::operator/ (RangedValue< T > const &lhs, RangedValue< T > const &rhs) noexcept
 

Variables

template<typename T >
static bool constexpr castor::isRangedValueT = IsRangedValueT< T >::value