library of assembled shared sources

http://lass.cocamware.com

lass::num::Consistent< T > Class Template Reference

#include <floating_point_consistency.h>


Public Types

typedef Consistent< T > TSelf
typedef util::CallTraits< T >
::TValue 
TValue
typedef util::CallTraits< T >
::TParam 
TParam
typedef util::CallTraits< T >
::TReference 
TReference
typedef util::CallTraits< T >
::TConstReference 
TConstReference
typedef num::NumTraits< T > TNumTraits

Public Member Functions

 Consistent ()
 Consistent (TParam t)
 Consistent (const TSelf &other)
TParam value () const
TSelf operator- () const
TSelf operator+ () const
TSelfoperator+= (const TSelf &other)
TSelfoperator-= (const TSelf &other)
TSelfoperator*= (const TSelf &other)
TSelfoperator/= (const TSelf &other)
void swap (TSelf &other)

Private Attributes

volatile TValue t_


Detailed Description

template<typename T>
class lass::num::Consistent< T >

Definition at line 57 of file floating_point_consistency.h.


Member Typedef Documentation

template<typename T >
typedef Consistent<T> lass::num::Consistent< T >::TSelf

Definition at line 60 of file floating_point_consistency.h.

template<typename T >
typedef util::CallTraits<T>::TValue lass::num::Consistent< T >::TValue

Definition at line 61 of file floating_point_consistency.h.

template<typename T >
typedef util::CallTraits<T>::TParam lass::num::Consistent< T >::TParam

Definition at line 62 of file floating_point_consistency.h.

template<typename T >
typedef util::CallTraits<T>::TReference lass::num::Consistent< T >::TReference

Definition at line 63 of file floating_point_consistency.h.

template<typename T >
typedef util::CallTraits<T>::TConstReference lass::num::Consistent< T >::TConstReference

Definition at line 64 of file floating_point_consistency.h.

template<typename T >
typedef num::NumTraits<T> lass::num::Consistent< T >::TNumTraits

Definition at line 65 of file floating_point_consistency.h.


Constructor & Destructor Documentation

template<typename T >
lass::num::Consistent< T >::Consistent (  )  [inline]

Definition at line 67 of file floating_point_consistency.h.

template<typename T >
lass::num::Consistent< T >::Consistent ( TParam  t  )  [inline]

Definition at line 71 of file floating_point_consistency.h.

template<typename T >
lass::num::Consistent< T >::Consistent ( const TSelf other  )  [inline]

Definition at line 76 of file floating_point_consistency.h.


Member Function Documentation

template<typename T >
TParam lass::num::Consistent< T >::value (  )  const [inline]

template<typename T >
TSelf lass::num::Consistent< T >::operator- (  )  const [inline]

Definition at line 86 of file floating_point_consistency.h.

References lass::num::Consistent< T >::t_.

template<typename T >
TSelf lass::num::Consistent< T >::operator+ (  )  const [inline]

Definition at line 91 of file floating_point_consistency.h.

template<typename T >
TSelf& lass::num::Consistent< T >::operator+= ( const TSelf other  )  [inline]

Definition at line 96 of file floating_point_consistency.h.

References lass::num::Consistent< T >::t_.

template<typename T >
TSelf& lass::num::Consistent< T >::operator-= ( const TSelf other  )  [inline]

Definition at line 101 of file floating_point_consistency.h.

References lass::num::Consistent< T >::t_.

template<typename T >
TSelf& lass::num::Consistent< T >::operator*= ( const TSelf other  )  [inline]

Definition at line 106 of file floating_point_consistency.h.

References lass::num::Consistent< T >::t_.

template<typename T >
TSelf& lass::num::Consistent< T >::operator/= ( const TSelf other  )  [inline]

Definition at line 111 of file floating_point_consistency.h.

References lass::num::Consistent< T >::t_.

template<typename T >
void lass::num::Consistent< T >::swap ( TSelf other  )  [inline]

Definition at line 117 of file floating_point_consistency.h.

References lass::num::Consistent< T >::t_.

Referenced by std::swap().


Field Documentation

template<typename T >
volatile TValue lass::num::Consistent< T >::t_ [private]


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

Generated on Mon Nov 10 14:22:10 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo