STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | List of all members
discard_block_engine< _Engine, _Px, _Rx > Class Template Reference
Inheritance diagram for discard_block_engine< _Engine, _Px, _Rx >:
discard_block< _Engine, _Px, _Rx >

Public Types

typedef discard_block_engine< _Engine, _Px, _Rx > _Myt
 
typedef discard_block< _Engine, _Px, _Rx > _Mybase
 
typedef _Engine::result_type result_type
 
- Public Types inherited from discard_block< _Engine, _Px, _Rx >
typedef discard_block< _Engine, _Px, _Rx > _Myt
 
typedef _Engine base_type
 
typedef _Engine::result_type result_type
 

Public Member Functions

 discard_block_engine ()
 
 discard_block_engine (const discard_block_engine &_Right)
 
 discard_block_engine (discard_block_engine &_Right)
 
 discard_block_engine (const _Engine &_Ex)
 
 discard_block_engine (_Engine &_Ex)
 
 discard_block_engine (_Engine &&_Ex)
 
 discard_block_engine (result_type _X0)
 
template<class _Seed_seq , class = typename enable_if< !is_convertible<_Seed_seq, result_type>::value, void>::type>
 discard_block_engine (_Seed_seq &_Seq)
 
- Public Member Functions inherited from discard_block< _Engine, _Px, _Rx >
 discard_block ()
 
 discard_block (const discard_block &_Right)
 
 discard_block (discard_block &_Right)
 
 discard_block (const base_type &_Ex)
 
 discard_block (result_type _Seed)
 
template<class _Seed_seq , class = typename enable_if< !is_convertible<_Seed_seq, result_type>::value, void>::type>
 discard_block (_Seed_seq &_Seq)
 
void seed ()
 
void seed (result_type _X0)
 
template<class _Seed_seq >
enable_if< !is_convertible< _Seed_seq, result_type >::value, void >::type seed (_Seed_seq &_Seq)
 
const base_typebase () const _NOEXCEPT
 
result_type() min () const
 
result_type() max () const
 
result_type operator() ()
 
void discard (unsigned long long _Nskip)
 
bool _Equals (const _Myt &_Right) const
 
template<class _Elem , class _Traits >
basic_istream< _Elem, _Traits > & _Read (basic_istream< _Elem, _Traits > &_Istr)
 
template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > & _Write (basic_ostream< _Elem, _Traits > &_Ostr) const
 

Static Public Member Functions

static _Engine::result_type() min ()
 
static _Engine::result_type() max ()
 

Additional Inherited Members

- Static Public Attributes inherited from discard_block< _Engine, _Px, _Rx >
static const int block_size = _Px
 
static const int used_block = _Rx
 

Member Typedef Documentation

template<class _Engine , size_t _Px, size_t _Rx>
typedef discard_block<_Engine, _Px, _Rx> discard_block_engine< _Engine, _Px, _Rx >::_Mybase
template<class _Engine , size_t _Px, size_t _Rx>
typedef discard_block_engine<_Engine, _Px, _Rx> discard_block_engine< _Engine, _Px, _Rx >::_Myt
template<class _Engine , size_t _Px, size_t _Rx>
typedef _Engine::result_type discard_block_engine< _Engine, _Px, _Rx >::result_type

Constructor & Destructor Documentation

template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( )
inline
1853  : _Mybase()
1854  { // default construct
1855  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1849
template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( const discard_block_engine< _Engine, _Px, _Rx > &  _Right)
inline
1858  { // construct by copying
1859  *this = _Right;
1860  }
const _Ty & _Right
Definition: algorithm:4087
template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( discard_block_engine< _Engine, _Px, _Rx > &  _Right)
inline
1863  { // construct by copying
1864  *this = _Right;
1865  }
const _Ty & _Right
Definition: algorithm:4087
template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( const _Engine &  _Ex)
inlineexplicit
1868  : _Mybase(_Ex)
1869  { // construct with engine initializer _Ex
1870  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1849
template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( _Engine &  _Ex)
inlineexplicit
1873  : _Mybase((const _Engine&)_Ex)
1874  { // construct with engine initializer _Ex
1875  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1849
template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( _Engine &&  _Ex)
inlineexplicit
1878  : _Mybase(_STD forward<_Engine>(_Ex))
1879  { // construct with engine initializer _Ex
1880  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1849
template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( result_type  _X0)
inlineexplicit
1883  : _Mybase(_X0)
1884  { // construct from specified seed value
1885  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1849
template<class _Engine , size_t _Px, size_t _Rx>
template<class _Seed_seq , class = typename enable_if< !is_convertible<_Seed_seq, result_type>::value, void>::type>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( _Seed_seq &  _Seq)
inlineexplicit
1892  : _Mybase(_Seq)
1893  { // construct from seed sequence
1894  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1849

Member Function Documentation

template<class _Engine , size_t _Px, size_t _Rx>
static _Engine::result_type() discard_block_engine< _Engine, _Px, _Rx >::max ( )
inlinestatic
1902  { // return maximum possible generated value
1903  return ((_Engine::max)());
1904  }
#define max(a, b)
Definition: minmax.h:19
template<class _Engine , size_t _Px, size_t _Rx>
static _Engine::result_type() discard_block_engine< _Engine, _Px, _Rx >::min ( )
inlinestatic
1897  { // return minimum possible generated value
1898  return ((_Engine::min)());
1899  }
#define min(a, b)
Definition: minmax.h:23

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