#ifndef INCLUDED_BOBCAT_IRANDSTREAM_H_
#define INCLUDED_BOBCAT_IRANDSTREAM_H_

#include <istream>
#include <bobcat/randbuf>

namespace FBB
{

class IRandStream: private RandBuf, public std::istream
{
    public:    
        explicit IRandStream(int max);
        IRandStream(int min, int max);
        IRandStream(int min, int max, size_t seed);
};

#include "irandstream1.f"
#include "irandstream2.f"
#include "irandstream3.f"

} // FBB

#endif

