Public Member Functions | Public Attributes
labust::math::LimitIO< T > Struct Template Reference

#include <Limits.hpp>

List of all members.

Public Member Functions

 LimitIO ()
 LimitIO (const Limit< T > &in, const Limit< T > &out)
 LimitIO (T minIn, T maxIn, T minOut, T maxOut)

Public Attributes

Limit< T > in
Limit< T > out

Detailed Description

template<class T = double>
struct labust::math::LimitIO< T >

The class implements input/output limits. It contains separate labust::math::Limit values for block input and output. To be used with black-box classes that have IO constraints.

Template Parameters:
TThe precision template variable.

Definition at line 82 of file Limits.hpp.


Constructor & Destructor Documentation

template<class T = double>
labust::math::LimitIO< T >::LimitIO ( ) [inline]

Default constructor. Instantiates all limits to NaN.

Definition at line 87 of file Limits.hpp.

template<class T = double>
labust::math::LimitIO< T >::LimitIO ( const Limit< T > &  in,
const Limit< T > &  out 
) [inline]

Main constructor. Takes two single limits for the block input and output.

Parameters:
inInput range limit.
outOutput range limit.

Definition at line 96 of file Limits.hpp.

template<class T = double>
labust::math::LimitIO< T >::LimitIO ( minIn,
maxIn,
minOut,
maxOut 
) [inline]

Main constructor. Takes all the range constraints separately.

Parameters:
minInMinimum of the input range.
maxInMaximum of the input range.
minOutMinimum of the output range.
maxOutMaximum of the output range.

Definition at line 107 of file Limits.hpp.


Member Data Documentation

template<class T = double>
Limit<T> labust::math::LimitIO< T >::in

Input and output range limiters.

Definition at line 109 of file Limits.hpp.

template<class T = double>
Limit<T> labust::math::LimitIO< T >::out

Definition at line 109 of file Limits.hpp.


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


snippets
Author(s): Gyula Nagy
autogenerated on Fri Aug 28 2015 11:22:33