Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

atlas::PrimeHelper Class Reference

List of all members.

Public Member Functions

 PrimeHelper (unsigned long)
 ~PrimeHelper ()
unsigned long operator[] (size_t j)

Private Attributes

unsigned long d_primes [PRIMES_MAX]

Constructor & Destructor Documentation

atlas::PrimeHelper::PrimeHelper unsigned long  n  )  [explicit]
 

Synopsis: constructs a PrimeHelper object containing the primes <= n.

Also checks that PRIMES_MAX is large enough to contain the list; triggers a fatal error otherwise.

Definition at line 80 of file size.cpp.

References d_primes, and atlas::error::PrimesError.

atlas::PrimeHelper::~PrimeHelper  )  [inline]
 

Definition at line 38 of file size.cpp.


Member Function Documentation

unsigned long atlas::PrimeHelper::operator[] size_t  j  )  [inline]
 

Definition at line 41 of file size.cpp.


Member Data Documentation

unsigned long atlas::PrimeHelper::d_primes[PRIMES_MAX] [private]
 

Definition at line 32 of file size.cpp.

Referenced by PrimeHelper().


The documentation for this class was generated from the following file:
Generated on Wed Mar 26 16:52:17 2008 for atlas by  doxygen 1.3.9.1