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

namespace  RandomLib

Defines

#define RANDOMTYPE_HPP   "$Id: RandomType.hpp 6490 2008-11-10 21:53:54Z ckarney $"

Typedefs

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

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.

Written by Charles Karney <charles@karney.com> and licensed under the LGPL. For more information, see http://charles.karney.info/random/

Definition in file RandomType.hpp.


Define Documentation

#define RANDOMTYPE_HPP   "$Id: RandomType.hpp 6490 2008-11-10 21:53:54Z ckarney $"

Definition at line 14 of file RandomType.hpp.


Generated on Thu Dec 31 15:24:29 2009 by  doxygen 1.6.1