v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | List of all members
PrimeTable Class Referenceabstract

#include <prime_tables.h>

Inheritance diagram for PrimeTable:
Inheritance graph
[legend]

Public Member Functions

virtual ~PrimeTable ()
 
virtual bool IsPrime (int n) const =0
 
virtual int GetNextPrime (int p) const =0
 

Detailed Description

Definition at line 43 of file prime_tables.h.

Constructor & Destructor Documentation

virtual PrimeTable::~PrimeTable ( )
inlinevirtual

Definition at line 45 of file prime_tables.h.

References GetNextPrime(), and IsPrime().

Here is the call graph for this function:

Member Function Documentation

virtual bool PrimeTable::IsPrime ( int  n) const
pure virtual

Implemented in PreCalculatedPrimeTable, and OnTheFlyPrimeTable.

Referenced by OnTheFlyPrimeTable::GetNextPrime(), and ~PrimeTable().

Here is the caller graph for this function:

virtual int PrimeTable::GetNextPrime ( int  p) const
pure virtual

Implemented in PreCalculatedPrimeTable, and OnTheFlyPrimeTable.

Referenced by ~PrimeTable().

Here is the caller graph for this function:


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