SPUC  3.0
Public Member Functions | List of all members
SPUC::builtin< T > Singleton Reference

Wrapper around built-in types to allow custom manipulations. More...

#include <spuc_typedefs.h>

Public Member Functions

 builtin ()
 
 builtin (double new_value)
 
 builtin (long new_value)
 
 builtin (int new_value)
 
 builtin (float new_value)
 
 builtin (const builtin< T > &other)
 
 ~builtin (void)
 
builtin< T > & operator= (const builtin< T > &other)
 
builtin< T > & operator+= (const builtin< T > &other)
 
builtin< T > & operator-= (const builtin< T > &other)
 
builtin< T > & operator*= (const builtin< T > &other)
 
builtin< T > & operator/= (const builtin< T > &other)
 
 operator T const & () const
 
const T * operator& (void) const
 
T * operator& (void)
 
template<>
 builtin (double new_value)
 
template<>
 builtin (double new_value)
 
template<>
 builtin (float new_value)
 
template<>
 builtin (float new_value)
 

Detailed Description

template<class T>
singleton SPUC::builtin< T >

Wrapper around built-in types to allow custom manipulations.

Author
Tony Kirke

Constructor & Destructor Documentation

template<class T >
SPUC::builtin< T >::builtin ( )
inline
template<class T >
SPUC::builtin< T >::builtin ( double  new_value)
inline
template<class T >
SPUC::builtin< T >::builtin ( long  new_value)
inline
template<class T >
SPUC::builtin< T >::builtin ( int  new_value)
inline
template<class T >
SPUC::builtin< T >::builtin ( float  new_value)
inline
template<class T >
SPUC::builtin< T >::builtin ( const builtin< T > &  other)
inline
template<class T >
SPUC::builtin< T >::~builtin ( void  )
inline
template<>
SPUC::builtin< long >::builtin ( double  new_value)
inline

References SPUC_TOLONG.

template<>
SPUC::builtin< int >::builtin ( double  new_value)
inline

References SPUC_TOINT.

template<>
SPUC::builtin< long >::builtin ( float  new_value)
inline

References SPUC_TOLONG.

template<>
SPUC::builtin< int >::builtin ( float  new_value)
inline

References SPUC_TOINT.

Member Function Documentation

template<class T>
SPUC::builtin< T >::operator T const & ( ) const
inline
template<class T >
const T * SPUC::builtin< T >::operator& ( void  ) const
inline
template<class T >
T * SPUC::builtin< T >::operator& ( void  )
inline
template<class T >
builtin< T > & SPUC::builtin< T >::operator*= ( const builtin< T > &  other)
inline
template<class T >
builtin< T > & SPUC::builtin< T >::operator+= ( const builtin< T > &  other)
inline
template<class T >
builtin< T > & SPUC::builtin< T >::operator-= ( const builtin< T > &  other)
inline
template<class T >
builtin< T > & SPUC::builtin< T >::operator/= ( const builtin< T > &  other)
inline
template<class T >
builtin< T > & SPUC::builtin< T >::operator= ( const builtin< T > &  other)
inline

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