All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
blaze::UnsignedValue< T > Class Template Reference

Implementation of a wrapper for built-in unsigned integral values.This class wraps a value of built-in unsigned integral type in order to be able to extract non-negative unsigned integral values from an input stream. More...

#include <UnsignedValue.h>

Public Member Functions

Constructors
 UnsignedValue (T value=0)
 The default constructor for UnsignedInt.
 
Assignment operator
UnsignedValueoperator= (T value)
 Assignment of a built-in unsigned integral value.
 
Conversion operator
 operator T () const
 Conversion to the built-in unsigned integral type.
 
Access functions
get () const
 Access to the wrapped built-in unsigned integral value.
 

Private Attributes

Member variables
value_
 The wrapped built-in unsigned integral value.
 

Detailed Description

template<typename T>
class blaze::UnsignedValue< T >

Implementation of a wrapper for built-in unsigned integral values.

This class wraps a value of built-in unsigned integral type in order to be able to extract non-negative unsigned integral values from an input stream.

Constructor & Destructor Documentation

template<typename T >
blaze::UnsignedValue< T >::UnsignedValue ( value = 0)
inlineexplicit

The default constructor for UnsignedInt.

Parameters
valueThe initial value for the unsigned integer.

Member Function Documentation

template<typename T >
T blaze::UnsignedValue< T >::get ( ) const
inline

Access to the wrapped built-in unsigned integral value.

Returns
The wrapped built-in unsigned integral value.
template<typename T >
blaze::UnsignedValue< T >::operator T ( ) const
inline

Conversion to the built-in unsigned integral type.

Returns
The wrapped built-in unsigned integral value.
template<typename T >
UnsignedValue< T > & blaze::UnsignedValue< T >::operator= ( value)
inline

Assignment of a built-in unsigned integral value.

Parameters
valueThe unsigned integral value.
Returns
Reference to the assigned UnsignedValue object.

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