#include <prime_tables.h>

Public Member Functions | |
| virtual int | GetNextPrime (int p) const |
| virtual int | GetNextPrime (int p) const |
| virtual bool | IsPrime (int n) const |
| virtual bool | IsPrime (int n) const |
| PreCalculatedPrimeTable (int max) | |
| PreCalculatedPrimeTable (int max) | |
| virtual | ~PreCalculatedPrimeTable () |
| virtual | ~PreCalculatedPrimeTable () |
Public Member Functions inherited from PrimeTable | |
| virtual | ~PrimeTable () |
| virtual | ~PrimeTable () |
Private Member Functions | |
| void | CalculatePrimesUpTo (int max) |
| void | CalculatePrimesUpTo (int max) |
| void | operator= (const PreCalculatedPrimeTable &rhs) |
| void | operator= (const PreCalculatedPrimeTable &rhs) |
Private Attributes | |
| bool *const | is_prime_ |
| const int | is_prime_size_ |
Definition at line 86 of file gmock/gtest/samples/prime_tables.h.
|
inlineexplicit |
Definition at line 90 of file gmock/gtest/samples/prime_tables.h.
|
inlinevirtual |
Definition at line 95 of file gmock/gtest/samples/prime_tables.h.
|
inlineexplicit |
Definition at line 90 of file gtest/samples/prime_tables.h.
|
inlinevirtual |
Definition at line 95 of file gtest/samples/prime_tables.h.
|
inlineprivate |
Definition at line 113 of file gmock/gtest/samples/prime_tables.h.
|
inlineprivate |
Definition at line 113 of file gtest/samples/prime_tables.h.
|
inlinevirtual |
Implements PrimeTable.
Definition at line 102 of file gmock/gtest/samples/prime_tables.h.
|
inlinevirtual |
Implements PrimeTable.
Definition at line 102 of file gtest/samples/prime_tables.h.
|
inlinevirtual |
Implements PrimeTable.
Definition at line 97 of file gtest/samples/prime_tables.h.
|
inlinevirtual |
Implements PrimeTable.
Definition at line 97 of file gmock/gtest/samples/prime_tables.h.
|
private |
|
private |
|
private |
Definition at line 131 of file gmock/gtest/samples/prime_tables.h.
|
private |
Definition at line 130 of file gmock/gtest/samples/prime_tables.h.