RandomLib  1.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Classes | Namespaces | Typedefs
RandomType.hpp File Reference

Class to hold bit-width and unsigned type. More...

#include <limits>
#include <string>
#include <iostream>

Go to the source code of this file.

Classes

class  RandomLib::RandomType< bits, UIntType >
 Class to hold bit-width and unsigned type. More...
 

Namespaces

 RandomLib
 Namespace for RandomLib.
 

Typedefs

typedef RandomType< 32, uint32_t > RandomLib::Random_u32
 
typedef RandomType< 64, uint64_t > RandomLib::Random_u64
 
typedef unsigned long RandomLib::bitset_uint_t
 

Detailed Description

Class to hold bit-width and unsigned type.

This provides a simple class to couple a bit-width and an unsigned type capable of holding all the bits. In addition is offers static methods for I/O and checksumming.

Copyright (c) Charles Karney (2006-2011) charl.nosp@m.es@k.nosp@m.arney.nosp@m..com and licensed under the MIT/X11 License. For more information, see http://randomlib.sourceforge.net/

Definition in file RandomType.hpp.