v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | Static Public Attributes | List of all members
testing::internal::Random Class Reference

#include <gtest-internal.h>

Collaboration diagram for testing::internal::Random:
Collaboration graph
[legend]

Public Member Functions

 Random (UInt32 seed)
 
void Reseed (UInt32 seed)
 
UInt32 Generate (UInt32 range)
 

Static Public Attributes

static const UInt32 kMaxRange = 1u << 31
 

Detailed Description

Definition at line 752 of file gtest-internal.h.

Constructor & Destructor Documentation

testing::internal::Random::Random ( UInt32  seed)
inlineexplicit

Definition at line 756 of file gtest-internal.h.

Member Function Documentation

void testing::internal::Random::Reseed ( UInt32  seed)
inline

Definition at line 758 of file gtest-internal.h.

References GTEST_DISALLOW_COPY_AND_ASSIGN_.

UInt32 testing::internal::Random::Generate ( UInt32  range)

Referenced by testing::internal::ShuffleRange().

Here is the caller graph for this function:

Member Data Documentation

const UInt32 testing::internal::Random::kMaxRange = 1u << 31
static

Definition at line 754 of file gtest-internal.h.


The documentation for this class was generated from the following file: