STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Attributes | List of all members
subtract_with_carry_01< _Ty, _Wx, _Sx, _Rx > Class Template Reference
Inheritance diagram for subtract_with_carry_01< _Ty, _Wx, _Sx, _Rx >:
_Swc_base< _Ty, _Sx, _Rx, _Swc_01_traits< _Ty, _Wx, _Rx > > _Circ_buf< _Ty, _Rx >

Public Types

typedef _Swc_base< _Ty, _Sx, _Rx, _Swc_01_traits< _Ty, _Wx, _Rx > > _Mybase
 
- Public Types inherited from _Swc_base< _Ty, _Sx, _Rx, _Swc_01_traits< _Ty, _Wx, _Rx > >
typedef _Ty result_type
 
typedef _Swc_01_traits< _Ty, _Wx, _Rx > _Traits
 
typedef _Circ_buf< _Ty, _Rx > _Mybase
 
typedef _Swc_01_traits< _Ty, _Wx, _Rx >::_Seed_t _Seed_t
 

Public Member Functions

 subtract_with_carry_01 ()
 
 subtract_with_carry_01 (const subtract_with_carry_01 &_Right)
 
 subtract_with_carry_01 (subtract_with_carry_01 &_Right)
 
 subtract_with_carry_01 (typename _Mybase::_Seed_t _Value)
 
template<class _Gen >
 subtract_with_carry_01 (_Gen &_Gx)
 
- Public Member Functions inherited from _Swc_base< _Ty, _Sx, _Rx, _Swc_01_traits< _Ty, _Wx, _Rx > >
 _Swc_base ()
 
 _Swc_base (typename _Swc_01_traits< _Ty, _Wx, _Rx >::_Seed_t _X0)
 
 _Swc_base (_Gen &_Gx)
 
void seed (unsigned long _Value=19780503U)
 
void seed (_Gen &_Gx, bool _Readcy=false)
 
result_type() min () const
 
result_type() max () const
 
result_type operator() ()
 
void discard (unsigned long long _Nskip)
 
bool _Equals (const _Swc_base &_Right) const
 
basic_ostream< _Elem, _Traits > & _Write (basic_ostream< _Elem, _Traits > &_Ostr) const
 
- Public Member Functions inherited from _Circ_buf< _Ty, _Rx >
_Ty _At (int _Ix) const
 
bool _Equals (const _Circ_buf &_Right) const
 
unsigned int _Base (int _Ix=0) const
 

Static Public Attributes

static const size_t word_size = _Wx
 
- Static Public Attributes inherited from _Swc_base< _Ty, _Sx, _Rx, _Swc_01_traits< _Ty, _Wx, _Rx > >
static const size_t short_lag
 
static const size_t long_lag
 

Additional Inherited Members

- Public Attributes inherited from _Circ_buf< _Ty, _Rx >
unsigned int _Idx
 
_Ty _Ax [2 *_Nw]
 
- Protected Member Functions inherited from _Swc_base< _Ty, _Sx, _Rx, _Swc_01_traits< _Ty, _Wx, _Rx > >
void _Seed (_Gen &_Gx, bool _Readcy, const true_type &)
 
void _Seed (_Gen &_Gx, bool _Readcy, const false_type &)
 
void _Reset (_Gen &_Gx, bool _Readcy)
 
void _Setx (int _Ix, _Ty _First, _Ty _Second)
 
- Protected Attributes inherited from _Swc_base< _Ty, _Sx, _Rx, _Swc_01_traits< _Ty, _Wx, _Rx > >
_Swc_01_traits< _Ty, _Wx, _Rx >::_Cy_t _Carry
 

Member Typedef Documentation

template<class _Ty , size_t _Wx, size_t _Sx, size_t _Rx>
typedef _Swc_base<_Ty, _Sx, _Rx, _Swc_01_traits<_Ty, _Wx, _Rx> > subtract_with_carry_01< _Ty, _Wx, _Sx, _Rx >::_Mybase

Constructor & Destructor Documentation

template<class _Ty , size_t _Wx, size_t _Sx, size_t _Rx>
subtract_with_carry_01< _Ty, _Wx, _Sx, _Rx >::subtract_with_carry_01 ( )
inline
1284  : _Mybase()
1285  { // construct with default seed
1286  }
_Swc_base< _Ty, _Sx, _Rx, _Swc_01_traits< _Ty, _Wx, _Rx > > _Mybase
Definition: random:1281
template<class _Ty , size_t _Wx, size_t _Sx, size_t _Rx>
subtract_with_carry_01< _Ty, _Wx, _Sx, _Rx >::subtract_with_carry_01 ( const subtract_with_carry_01< _Ty, _Wx, _Sx, _Rx > &  _Right)
inline
1289  { // construct by copying
1290  *this = _Right;
1291  }
const _Ty & _Right
Definition: algorithm:4087
template<class _Ty , size_t _Wx, size_t _Sx, size_t _Rx>
subtract_with_carry_01< _Ty, _Wx, _Sx, _Rx >::subtract_with_carry_01 ( subtract_with_carry_01< _Ty, _Wx, _Sx, _Rx > &  _Right)
inline
1294  { // construct by copying
1295  *this = _Right;
1296  }
const _Ty & _Right
Definition: algorithm:4087
template<class _Ty , size_t _Wx, size_t _Sx, size_t _Rx>
subtract_with_carry_01< _Ty, _Wx, _Sx, _Rx >::subtract_with_carry_01 ( typename _Mybase::_Seed_t  _Value)
inlineexplicit
1299  : _Mybase(_Value)
1300  { // construct with specified seed
1301  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
_Swc_base< _Ty, _Sx, _Rx, _Swc_01_traits< _Ty, _Wx, _Rx > > _Mybase
Definition: random:1281
template<class _Ty , size_t _Wx, size_t _Sx, size_t _Rx>
template<class _Gen >
subtract_with_carry_01< _Ty, _Wx, _Sx, _Rx >::subtract_with_carry_01 ( _Gen &  _Gx)
inline
1305  : _Mybase(_Gx)
1306  { // construct with seed values from generator
1307  }
_Swc_base< _Ty, _Sx, _Rx, _Swc_01_traits< _Ty, _Wx, _Rx > > _Mybase
Definition: random:1281

Member Data Documentation

template<class _Ty , size_t _Wx, size_t _Sx, size_t _Rx>
const size_t subtract_with_carry_01< _Ty, _Wx, _Sx, _Rx >::word_size = _Wx
static

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