One.h File Reference

A numeric class for a number that is always one. More...

This graph shows which files directly or indirectly include this file:


Classes

struct  One< T >
 The point of this class is to be a number of type T which is known at compile time to be one. More...
struct  MinusOne< T >
 The point of this class is to be a number of type T which is known at compile time to be minus one. More...
struct  UnaryReturn< One< T >, OpUnaryMinus >
struct  UnaryReturn< MinusOne< T >, OpUnaryMinus >
struct  BinaryReturn< One< T >, T, OpMultiply >
struct  BinaryReturn< T, One< T >, OpMultiply >
struct  BinaryReturn< One< T >, One< T >, OpMultiply >
struct  BinaryReturn< MinusOne< T >, T, OpMultiply >
struct  BinaryReturn< T, MinusOne< T >, OpMultiply >
struct  BinaryReturn< MinusOne< T >, MinusOne< T >, OpMultiply >
struct  BinaryReturn< MinusOne< T >, One< T >, OpMultiply >
struct  BinaryReturn< One< T >, MinusOne< T >, OpMultiply >
struct  BinaryReturn< T, One< T >, OpDivide >
struct  BinaryReturn< T, MinusOne< T >, OpDivide >
struct  BinaryReturn< MinusOne< T >, One< T >, OpDivide >
struct  BinaryReturn< One< T >, MinusOne< T >, OpDivide >
struct  BinaryReturn< One< T >, One< T >, OpSubtract >
struct  BinaryReturn< MinusOne< T >, MinusOne< T >, OpSubtract >
struct  BinaryReturn< Zero< T >, One< T >, OpSubtract >
struct  BinaryReturn< Zero< T >, MinusOne< T >, OpSubtract >
struct  BinaryReturn< One< T >, MinusOne< T >, OpAdd >
struct  BinaryReturn< MinusOne< T >, One< T >, OpAdd >
struct  BinaryReturn< MinusOne< T >, MinusOne< T >, OpEQ >
struct  BinaryReturn< One< T >, One< T >, OpEQ >
struct  BinaryReturn< One< T1 >, One< T2 >, Op >
struct  BinaryReturn< MinusOne< T1 >, MinusOne< T2 >, Op >
struct  BinaryReturn< One< T1 >, Zero< T2 >, Op >
struct  BinaryReturn< Zero< T1 >, One< T2 >, Op >
struct  BinaryReturn< MinusOne< T1 >, Zero< T2 >, Op >
struct  BinaryReturn< Zero< T1 >, MinusOne< T2 >, Op >
struct  BinaryReturn< One< T1 >, MinusOne< T2 >, Op >
struct  BinaryReturn< MinusOne< T1 >, One< T2 >, Op >

Functions

template<class T >
MinusOne< T > operator- (One< T >)
template<class T >
One< T > operator- (MinusOne< T >)
template<class T >
operator* (One< T >, const T &val)
template<class T >
operator* (const T &val, One< T >)
template<class T >
One< T > operator* (One< T >, One< T >)
template<class T >
One< T > operator/ (One< T >, One< T >)
template<class T >
operator/ (const T &val, One< T >)
template<class T >
operator* (MinusOne< T >, const T &val)
template<class T >
operator* (const T &val, MinusOne< T >)
template<class T >
One< T > operator* (MinusOne< T >, MinusOne< T >)
template<class T >
One< T > operator/ (MinusOne< T >, MinusOne< T >)
template<class T >
operator/ (const T &val, MinusOne< T >)
template<class T >
MinusOne< T > operator* (MinusOne< T >, One< T >)
template<class T >
MinusOne< T > operator* (One< T >, MinusOne< T >)
template<class T >
MinusOne< T > operator/ (MinusOne< T >, One< T >)
template<class T >
MinusOne< T > operator/ (One< T >, MinusOne< T >)
template<class T >
Zero< T > operator- (One< T >, One< T >)
template<class T >
Zero< T > operator- (MinusOne< T >, MinusOne< T >)
template<class T >
Zero< T > operator+ (One< T >, MinusOne< T >)
template<class T >
Zero< T > operator+ (MinusOne< T >, One< T >)
template<class T >
MinusOne< T > operator- (Zero< T >, One< T >)
template<class T >
One< T > operator- (Zero< T >, MinusOne< T >)

Detailed Description

A numeric class for a number that is always one.


Function Documentation

template<class T >
MinusOne<T> operator- ( One< T >   )  [inline]

template<class T >
One<T> operator- ( MinusOne< T >   )  [inline]

template<class T >
T operator* ( One< T >  ,
const T &  val 
) [inline]

template<class T >
T operator* ( const T &  val,
One< T >   
) [inline]

template<class T >
One<T> operator* ( One< T >  ,
One< T >   
) [inline]

template<class T >
One<T> operator/ ( One< T >  ,
One< T >   
) [inline]

template<class T >
T operator/ ( const T &  val,
One< T >   
) [inline]

template<class T >
T operator* ( MinusOne< T >  ,
const T &  val 
) [inline]

template<class T >
T operator* ( const T &  val,
MinusOne< T >   
) [inline]

template<class T >
One<T> operator* ( MinusOne< T >  ,
MinusOne< T >   
) [inline]

template<class T >
One<T> operator/ ( MinusOne< T >  ,
MinusOne< T >   
) [inline]

template<class T >
T operator/ ( const T &  val,
MinusOne< T >   
) [inline]

template<class T >
MinusOne<T> operator* ( MinusOne< T >  ,
One< T >   
) [inline]

template<class T >
MinusOne<T> operator* ( One< T >  ,
MinusOne< T >   
) [inline]

template<class T >
MinusOne<T> operator/ ( MinusOne< T >  ,
One< T >   
) [inline]

template<class T >
MinusOne<T> operator/ ( One< T >  ,
MinusOne< T >   
) [inline]

template<class T >
Zero<T> operator- ( One< T >  ,
One< T >   
) [inline]

template<class T >
Zero<T> operator- ( MinusOne< T >  ,
MinusOne< T >   
) [inline]

template<class T >
Zero<T> operator+ ( One< T >  ,
MinusOne< T >   
) [inline]

template<class T >
Zero<T> operator+ ( MinusOne< T >  ,
One< T >   
) [inline]

template<class T >
MinusOne<T> operator- ( Zero< T >  ,
One< T >   
) [inline]

template<class T >
One<T> operator- ( Zero< T >  ,
MinusOne< T >   
) [inline]


Generated on Wed Mar 16 06:18:14 2011 for FreePOOMA by  doxygen 1.5.9