STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | List of all members
xor_combine< _Engine1, _S1, _Engine2, _S2 > Class Template Reference

Public Types

typedef xor_combine< _Engine1, _S1, _Engine2, _S2 > _Myt
 
typedef _Engine1 base1_type
 
typedef _Engine2 base2_type
 
typedef _Engine1::result_type _Eres1
 
typedef _Engine1::result_type _Eres2
 

Public Member Functions

 while (_Mx!=0)
 

Public Attributes

 _Min = (_Ax ^ _Cx) << _SS
 
 _Mx
 
 _Ax = (_Eng1.min)() << (_S1 - _SS)
 
 _Bx = (_Eng1.max)() << (_S1 - _SS)
 
 _Cx = (_Eng2.min)() << (_S2 - _SS)
 
 _Dx = (_Eng2.max)() << (_S2 - _SS)
 
 _Max = (_Bx ^ _Dx) << _SS
 
_Engine1 _Eng1
 
_Engine2 _Eng2
 
result_type _Min
 
result_type _Max
 

Member Typedef Documentation

template<class _Engine1, int _S1, class _Engine2, int _S2>
typedef _Engine1::result_type xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Eres1
template<class _Engine1, int _S1, class _Engine2, int _S2>
typedef _Engine1::result_type xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Eres2
template<class _Engine1, int _S1, class _Engine2, int _S2>
typedef xor_combine<_Engine1, _S1, _Engine2, _S2> xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Myt
template<class _Engine1, int _S1, class _Engine2, int _S2>
typedef _Engine1 xor_combine< _Engine1, _S1, _Engine2, _S2 >::base1_type
template<class _Engine1, int _S1, class _Engine2, int _S2>
typedef _Engine2 xor_combine< _Engine1, _S1, _Engine2, _S2 >::base2_type

Member Function Documentation

template<class _Engine1, int _S1, class _Engine2, int _S2>
xor_combine< _Engine1, _S1, _Engine2, _S2 >::while ( _Mx!  = 0)
inline
2484  { // loop through bits
2485  if (!(_Mx & _Bx & _Dx))
2486  ;
2487  else if (_Ax <= (_Temp = (_Bx - _Mx) | (_Mx - 1)))
2488  _Bx = _Temp;
2489  else if (_Cx <= (_Temp = (_Dx - _Mx) | (_Mx - 1)))
2490  _Dx = _Temp;
2491  _Mx >>= 1;
2492  }
_Ax
Definition: random:2479
_Bx
Definition: random:2480
_Mx
Definition: random:2477
_Cx
Definition: random:2481
_Dx
Definition: random:2482

Member Data Documentation

template<class _Engine1, int _S1, class _Engine2, int _S2>
xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Ax = (_Eng1.min)() << (_S1 - _SS)
template<class _Engine1, int _S1, class _Engine2, int _S2>
xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Bx = (_Eng1.max)() << (_S1 - _SS)
template<class _Engine1, int _S1, class _Engine2, int _S2>
xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Cx = (_Eng2.min)() << (_S2 - _SS)
template<class _Engine1, int _S1, class _Engine2, int _S2>
xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Dx = (_Eng2.max)() << (_S2 - _SS)
template<class _Engine1, int _S1, class _Engine2, int _S2>
_Engine1 xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Eng1
template<class _Engine1, int _S1, class _Engine2, int _S2>
_Engine2 xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Eng2
template<class _Engine1, int _S1, class _Engine2, int _S2>
xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Max = (_Bx ^ _Dx) << _SS
template<class _Engine1, int _S1, class _Engine2, int _S2>
result_type xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Max
template<class _Engine1, int _S1, class _Engine2, int _S2>
xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Min = (_Ax ^ _Cx) << _SS
template<class _Engine1, int _S1, class _Engine2, int _S2>
result_type xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Min
template<class _Engine1, int _S1, class _Engine2, int _S2>
xor_combine< _Engine1, _S1, _Engine2, _S2 >::_Mx

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