proxygen
PrimeTable Class Referenceabstract

#include <prime_tables.h>

Inheritance diagram for PrimeTable:
OnTheFlyPrimeTable OnTheFlyPrimeTable OnTheFlyPrimeTable PreCalculatedPrimeTable PreCalculatedPrimeTable PreCalculatedPrimeTable

Public Member Functions

virtual ~PrimeTable ()
 
virtual bool IsPrime (int n) const =0
 
virtual int GetNextPrime (int p) const =0
 
virtual ~PrimeTable ()
 
virtual bool IsPrime (int n) const =0
 
virtual int GetNextPrime (int p) const =0
 
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().

45 {}
virtual PrimeTable::~PrimeTable ( )
inlinevirtual

Definition at line 45 of file prime_tables.h.

References GetNextPrime(), and IsPrime().

45 {}
virtual PrimeTable::~PrimeTable ( )
inlinevirtual

Definition at line 45 of file prime_tables.h.

References GetNextPrime(), and IsPrime().

45 {}

Member Function Documentation

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

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