Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ion::SRange< T > Struct Template Reference

#include <SRange.h>

Collaboration diagram for ion::SRange< T >:
Collaboration graph
[legend]

Public Member Functions

bool Contains (T const value) const
 
bool IsEmpty () const
 
bool IsSingular () const
 
T Normalize (T const value) const
 
T Size () const
 
 SRange ()
 
 SRange (T const minimum, T const maximum)
 
SRangeoperator= (SRange const &Other)
 

Public Attributes

T Minimum
 
T Maximum
 

Static Public Attributes

static SRange const Full = SRange<T>(-std::numeric_limits<T>::max(), std::numeric_limits<T>::max())
 
static SRange const Empty = SRange<T>(std::numeric_limits<T>::max(), -std::numeric_limits<T>::max())
 

Constructor & Destructor Documentation

template<typename T>
ion::SRange< T >::SRange ( )
inline
template<typename T>
ion::SRange< T >::SRange ( T const  minimum,
T const  maximum 
)
inline

Member Function Documentation

template<typename T>
bool ion::SRange< T >::Contains ( T const  value) const
inline
template<typename T>
bool ion::SRange< T >::IsEmpty ( ) const
inline
template<typename T>
bool ion::SRange< T >::IsSingular ( ) const
inline
template<typename T>
T ion::SRange< T >::Normalize ( T const  value) const
inline
template<typename T>
SRange& ion::SRange< T >::operator= ( SRange< T > const &  Other)
inline
template<typename T>
T ion::SRange< T >::Size ( ) const
inline

Member Data Documentation

template<typename T>
SRange< T > const ion::SRange< T >::Empty = SRange<T>(std::numeric_limits<T>::max(), -std::numeric_limits<T>::max())
static
template<typename T>
SRange< T > const ion::SRange< T >::Full = SRange<T>(-std::numeric_limits<T>::max(), std::numeric_limits<T>::max())
static
template<typename T>
T ion::SRange< T >::Maximum
template<typename T>
T ion::SRange< T >::Minimum

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