CppCMS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cppcms
urandom.h
1
//
3
// Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com>
4
//
5
// See accompanying file COPYING.TXT file for licensing details.
6
//
8
#ifndef CPPCMS_URANDOM_H
9
#define CPPCMS_URANDOM_H
10
11
#include <cppcms/defs.h>
12
#include <booster/hold_ptr.h>
13
#include <booster/noncopyable.h>
14
15
namespace
cppcms
{
16
23
class
CPPCMS_API
urandom_device
:
public
booster::noncopyable
{
24
public
:
25
29
urandom_device
();
30
34
~
urandom_device
();
35
39
void
generate(
void
*ptr,
unsigned
n);
40
41
private
:
42
struct
_data;
43
booster::hold_ptr<_data>
d;
44
45
46
};
47
}
48
49
50
#endif
booster::hold_ptr< _data >
cppcms::urandom_device
High entropy random number generator.
Definition:
urandom.h:23
cppcms
This is the namespace where all CppCMS functionality is placed.
Definition:
application.h:19
booster::noncopyable
This class makes impossible to copy any class derived from this one.
Definition:
noncopyable.h:15
Generated on Sun Dec 3 2017 22:47:16 for CppCMS by
1.8.11