ecto
Public Member Functions | Public Attributes | List of all members
ecto::bounded< T > Struct Template Reference

#include <parameters.hpp>

Public Member Functions

 bounded (const T &value, const T &min, const T &max)
 
 bounded (const T &value)
 
boundedoperator= (const T &value)
 
void set (const T &value)
 
bool check (const T &value) const
 
std::string bounds () const
 
 operator T () const
 

Public Attributes

value
 
min
 
max
 
bool has_bounds
 

Constructor & Destructor Documentation

template<typename T >
ecto::bounded< T >::bounded ( const T &  value,
const T &  min,
const T &  max 
)
template<typename T >
ecto::bounded< T >::bounded ( const T &  value)
explicit

Member Function Documentation

template<typename T >
std::string ecto::bounded< T >::bounds ( ) const
template<typename T >
bool ecto::bounded< T >::check ( const T &  value) const
template<typename T >
ecto::bounded< T >::operator T ( ) const
template<typename T >
bounded< T > & ecto::bounded< T >::operator= ( const T &  value)
template<typename T >
void ecto::bounded< T >::set ( const T &  value)

Member Data Documentation

template<typename T >
bool ecto::bounded< T >::has_bounds
template<typename T >
T ecto::bounded< T >::max
template<typename T >
T ecto::bounded< T >::min
template<typename T >
T ecto::bounded< T >::value

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