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

#include <prime_tables.h>

Inheritance diagram for OnTheFlyPrimeTable:
Inheritance graph
[legend]
Collaboration diagram for OnTheFlyPrimeTable:
Collaboration graph
[legend]

Public Member Functions

virtual bool IsPrime (int n) const
 
virtual int GetNextPrime (int p) const
 

Detailed Description

Definition at line 56 of file prime_tables.h.

Member Function Documentation

virtual bool OnTheFlyPrimeTable::IsPrime ( int  n) const
inlinevirtual

Implements PrimeTable.

Definition at line 58 of file prime_tables.h.

virtual int OnTheFlyPrimeTable::GetNextPrime ( int  p) const
inlinevirtual

Implements PrimeTable.

Definition at line 69 of file prime_tables.h.

References PrimeTable::IsPrime().

Here is the call graph for this function:


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