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

#include <prime_tables.h>

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

Public Member Functions

 PreCalculatedPrimeTable (int max)
 
virtual ~PreCalculatedPrimeTable ()
 
virtual bool IsPrime (int n) const
 
virtual int GetNextPrime (int p) const
 

Detailed Description

Definition at line 80 of file prime_tables.h.

Constructor & Destructor Documentation

PreCalculatedPrimeTable::PreCalculatedPrimeTable ( int  max)
inlineexplicit

Definition at line 83 of file prime_tables.h.

virtual PreCalculatedPrimeTable::~PreCalculatedPrimeTable ( )
inlinevirtual

Definition at line 87 of file prime_tables.h.

Member Function Documentation

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

Implements PrimeTable.

Definition at line 89 of file prime_tables.h.

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

Implements PrimeTable.

Definition at line 93 of file prime_tables.h.


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