sipxportlib
Version 3.3
Main Page
Classes
Files
File List
File Members
include
utl
UtlRandom.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2006-2017 SIPez LLC. All rights reserved.
3
//
4
// Copyright (C) 2004-2006 SIPfoundry Inc.
5
// Licensed by SIPfoundry under the LGPL license.
6
//
7
// Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
8
// Licensed to SIPfoundry under a Contributor Agreement.
9
//
10
// $$
12
13
14
#ifndef _UtlRandom_h_
15
#define _UtlRandom_h_
16
17
// SYSTEM INCLUDES
18
19
// APPLICATION INCLUDES
20
21
// DEFINES
22
// MACROS
23
// EXTERNAL FUNCTIONS
24
// EXTERNAL VARIABLES
25
// CONSTANTS
26
// STRUCTS
27
// TYPEDEFS
28
// FORWARD DECLARATIONS
29
35
class
UtlRandom
36
{
37
/* //////////////////////////// PUBLIC //////////////////////////////////// */
38
public
:
39
40
/* ============================ CREATORS ================================== */
41
46
UtlRandom
();
47
51
UtlRandom
(
int
seed);
52
56
virtual
~UtlRandom
();
57
58
/* ============================ MANIPULATORS ============================== */
59
60
/* ============================ ACCESSORS ================================= */
61
66
int
rand
() ;
67
68
/* ============================ INQUIRY =================================== */
69
70
/* //////////////////////////// PROTECTED ///////////////////////////////// */
71
protected
:
72
73
/* //////////////////////////// PRIVATE /////////////////////////////////// */
74
private
:
75
unsigned
int
mSeed;
76
77
};
78
79
/* ============================ INLINE METHODS ============================ */
80
81
#endif // _UtlRandom_h_
UtlRandom::rand
int rand()
Definition:
UtlRandom.cpp:74
UtlRandom
Definition:
UtlRandom.h:35
UtlRandom::~UtlRandom
virtual ~UtlRandom()
Definition:
UtlRandom.cpp:65
UtlRandom::UtlRandom
UtlRandom()
Definition:
UtlRandom.cpp:33
Generated by
1.8.11