Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
PrimeTable Class Referenceabstract

`#include <prime_tables.h>`

Inheritance diagram for PrimeTable:

## Public Member Functions
virtual | ~PrimeTable ()
virtual bool | IsPrime (int n) const =0
virtual int | GetNextPrime (int p) const =0

## Constructor & Destructor Documentation

virtual ~PrimeTable | ( |  | ) |
| inline virtual

## Member Function Documentation

virtual int GetNextPrime | ( | int | p | ) | const
| pure virtual

Implemented in PreCalculatedPrimeTable, and OnTheFlyPrimeTable.

virtual bool IsPrime | ( | int | n | ) | const
| pure virtual

Implemented in PreCalculatedPrimeTable, and OnTheFlyPrimeTable.

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

- testing/googleTest/samples/prime_tables.h