/usr/include/kashmir/system/abstractrandom.h is in libkashmir-dev 0.0~git20150805.0.2f3913f+dfsg3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | // abstractrandom.h -- abstract random number generator
// Copyright (C) 2013 Kenneth Laskoski
/** @file abstractrandom.h
@brief abstract random number generator
@author Copyright (C) 2013 Kenneth Laskoski
*/
#ifndef KL_ABSTRACTRANDOM_H
#define KL_ABSTRACTRANDOM_H
#include "../randomstream.h"
namespace kashmir {
namespace system {
class AbstractRandom : public randomstream<AbstractRandom>
{
public:
virtual ~AbstractRandom() {}
virtual void read(char *buffer, std::size_t count) = 0;
};
}}
#endif
|