Classes | Namespaces | Defines | 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
 Class to hold bit-width and unsigned type. More...

Namespaces

namespace  RandomLib

Defines

#define RANDOMTYPE_HPP   "$Id: RandomType.hpp 6723 2010-01-11 14:20:10Z 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://randomlib.sourceforge.net/

Definition in file RandomType.hpp.


Define Documentation

#define RANDOMTYPE_HPP   "$Id: RandomType.hpp 6723 2010-01-11 14:20:10Z ckarney $"

Definition at line 13 of file RandomType.hpp.