BLOCXX_NAMESPACE::Secure::Impl Namespace Reference


Classes

struct  log2
struct  log2< 1 >
struct  bits_precision
struct  assert_unsigned_integer_type< unsigned char >
struct  assert_unsigned_integer_type< unsigned short >
struct  assert_unsigned_integer_type< unsigned int >
struct  assert_unsigned_integer_type< unsigned long >
struct  assert_unsigned_integer_type< unsigned long long >
struct  assert_integer_type< char >
struct  assert_integer_type< signed char >
struct  assert_integer_type< short >
struct  assert_integer_type< int >
struct  assert_integer_type< long >
struct  assert_integer_type< long long >
struct  assert_integer_type< unsigned char >
struct  assert_integer_type< unsigned short >
struct  assert_integer_type< unsigned int >
struct  assert_integer_type< unsigned long >
struct  assert_integer_type< unsigned long long >
struct  assert_float_type< float >
struct  assert_float_type< double >
struct  assert_float_type< long double >

Functions

template<typename UnsignedInt>
UnsignedInt rand_uint_lt (UnsignedInt n)
template unsigned char rand_uint_lt< unsigned char > (unsigned char)
template unsigned short rand_uint_lt< unsigned short > (unsigned short)
template unsigned int rand_uint_lt< unsigned int > (unsigned int)
template unsigned long rand_uint_lt< unsigned long > (unsigned long)
template unsigned long long rand_uint_lt< unsigned long long > (unsigned long long)
template<typename Integer>
Integer rand_range (Integer min_value, Integer max_value)
template char rand_range (char, char)
template signed char rand_range (signed char, signed char)
template unsigned char rand_range (unsigned char, unsigned char)
template short rand_range (short, short)
template int rand_range (int, int)
template long rand_range (long, long)
template unsigned long long rand_range (unsigned long long, unsigned long long)
template<typename Real>
Real rand_unit_interval ()
template float rand_unit_interval< float > ()
template double rand_unit_interval< double > ()
template long double rand_unit_interval< long double > ()


Function Documentation

template unsigned long long BLOCXX_NAMESPACE::Secure::Impl::rand_range ( unsigned long  long,
unsigned long  long 
)

template long long BLOCXX_NAMESPACE::Secure::Impl::rand_range ( long  ,
long   
)

template int BLOCXX_NAMESPACE::Secure::Impl::rand_range ( int  ,
int   
)

template short BLOCXX_NAMESPACE::Secure::Impl::rand_range ( short  ,
short   
)

template unsigned long BLOCXX_NAMESPACE::Secure::Impl::rand_range ( unsigned  char,
unsigned  char 
)

template signed char BLOCXX_NAMESPACE::Secure::Impl::rand_range ( signed  char,
signed  char 
)

template char BLOCXX_NAMESPACE::Secure::Impl::rand_range ( char  ,
char   
)

template<typename Integer>
Integer BLOCXX_NAMESPACE::Secure::Impl::rand_range ( Integer  min_value,
Integer  max_value 
) [inline]

Definition at line 214 of file SecureRand.cpp.

References BLOCXX_ASSERT, and rand_uint_lt().

template<typename UnsignedInt>
UnsignedInt BLOCXX_NAMESPACE::Secure::Impl::rand_uint_lt ( UnsignedInt  n  )  [inline]

Definition at line 184 of file SecureRand.cpp.

References BLOCXX_ASSERT.

Referenced by rand_range().

template unsigned char BLOCXX_NAMESPACE::Secure::Impl::rand_uint_lt< unsigned char > ( unsigned  char  ) 

template unsigned int BLOCXX_NAMESPACE::Secure::Impl::rand_uint_lt< unsigned int > ( unsigned  int  ) 

template unsigned long BLOCXX_NAMESPACE::Secure::Impl::rand_uint_lt< unsigned long > ( unsigned  long  ) 

template unsigned long long BLOCXX_NAMESPACE::Secure::Impl::rand_uint_lt< unsigned long long > ( unsigned long  long  ) 

template unsigned short BLOCXX_NAMESPACE::Secure::Impl::rand_uint_lt< unsigned short > ( unsigned  short  ) 

template<typename Real>
Real BLOCXX_NAMESPACE::Secure::Impl::rand_unit_interval (  )  [inline]

Definition at line 306 of file SecureRand.cpp.

References i.

template double BLOCXX_NAMESPACE::Secure::Impl::rand_unit_interval< double > (  ) 

template float BLOCXX_NAMESPACE::Secure::Impl::rand_unit_interval< float > (  ) 

template long double BLOCXX_NAMESPACE::Secure::Impl::rand_unit_interval< long double > (  ) 


Generated on Wed Feb 25 19:05:20 2009 for blocxx by  doxygen 1.5.6