SPUC  3.0
Public Member Functions | Public Attributes | List of all members
SPUC::uint< Bits > Class Template Reference

Template class for unsigned integers (<33 bits). More...

#include <uint.h>

Inheritance diagram for SPUC::uint< Bits >:
Inheritance graph
[legend]
Collaboration diagram for SPUC::uint< Bits >:
Collaboration graph
[legend]

Public Member Functions

 uint ()
 
 uint (long y)
 
uint< Bits > operator= (const int_u &y)
 
uint< Bits > operator= (const long &y)
 
uint< Bits > operator() (long i)
 

Public Attributes

bool overflow
 

Detailed Description

template<long Bits = 32>
class SPUC::uint< Bits >

Template class for unsigned integers (<33 bits).

The template parameter is the number of bits in the integer (default 32) Derived from base class int_u.

Author
Tony Kirke

Constructor & Destructor Documentation

template<long Bits = 32>
SPUC::uint< Bits >::uint ( )
inline
template<long Bits = 32>
SPUC::uint< Bits >::uint ( long  y)
inline

Member Function Documentation

template<long Bits = 32>
uint<Bits> SPUC::uint< Bits >::operator() ( long  i)
inline
template<long Bits = 32>
uint<Bits> SPUC::uint< Bits >::operator= ( const int_u &  y)
inline
template<long Bits = 32>
uint<Bits> SPUC::uint< Bits >::operator= ( const long &  y)
inline

Member Data Documentation

template<long Bits = 32>
bool SPUC::uint< Bits >::overflow

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