TFoundFactor Class Reference

#include <FactorFound.H>

List of all members.

Public Member Functions

 TFoundFactor (const mpz_t f, const unsigned int exp=1, const string &xcomment="")
 TFoundFactor (const unsigned long int f, const unsigned int exp=1)
 TFoundFactor (const TFoundFactor &FF)
 TFoundFactor (std::istream &is)
virtual ~TFoundFactor ()
virtual bool operator< (const TFoundFactor &nf) const
void get_factor (mpz_t f, unsigned int &exponent) const
virtual void output (std::ostream &ostr) const
TFoundFactoroperator= (const TFoundFactor &rhs)
virtual void Save (std::ostream &os) const

Private Attributes

mpz_t x
unsigned int e
string comment


Detailed Description

Definition at line 7 of file FactorFound.H.


Constructor & Destructor Documentation

TFoundFactor::TFoundFactor ( const mpz_t  f,
const unsigned int  exp = 1,
const string xcomment = "" 
) [inline, explicit]

Definition at line 14 of file FactorFound.H.

References exp(), mpz_init_set(), and x.

Here is the call graph for this function:

TFoundFactor::TFoundFactor ( const unsigned long int  f,
const unsigned int  exp = 1 
) [inline, explicit]

Definition at line 16 of file FactorFound.H.

References exp(), mpz_init_set_ui(), and x.

Here is the call graph for this function:

TFoundFactor::TFoundFactor ( const TFoundFactor FF  )  [inline]

Definition at line 18 of file FactorFound.H.

References mpz_init_set(), and x.

Here is the call graph for this function:

TFoundFactor::TFoundFactor ( std::istream is  )  [inline, explicit]

Definition at line 20 of file FactorFound.H.

References comment, e, std::basic_istream< _CharT, _Traits >::eof(), std::basic_ios< _CharT, _Traits >::failbit, std::basic_istream< _CharT, _Traits >::get(), std::basic_istream< _CharT, _Traits >::getline(), MARK, mpz_init(), std::basic_istream< _CharT, _Traits >::setstate(), std::basic_istream< _CharT, _Traits >::unget(), and x.

Here is the call graph for this function:

virtual TFoundFactor::~TFoundFactor (  )  [inline, virtual]

Definition at line 34 of file FactorFound.H.

References mpz_clear(), and x.

Here is the call graph for this function:


Member Function Documentation

virtual bool TFoundFactor::operator< ( const TFoundFactor nf  )  const [inline, virtual]

Definition at line 35 of file FactorFound.H.

References mpz_cmp(), and x.

Here is the call graph for this function:

void TFoundFactor::get_factor ( mpz_t  f,
unsigned int &  exponent 
) const [inline]

Definition at line 36 of file FactorFound.H.

References e, mpz_set(), and x.

Here is the call graph for this function:

void TFoundFactor::output ( std::ostream ostr  )  const [virtual]

Definition at line 7 of file FactorFound.cc.

References comment, e, mpz_probab_prime_p(), my_mpz_wrapper::probab_prime_checks, and x.

Referenced by operator<<().

Here is the call graph for this function:

TFoundFactor& TFoundFactor::operator= ( const TFoundFactor rhs  )  [inline]

Definition at line 38 of file FactorFound.H.

References comment, e, mpz_set(), and x.

Here is the call graph for this function:

virtual void TFoundFactor::Save ( std::ostream os  )  const [inline, virtual]

Definition at line 43 of file FactorFound.H.

References comment, e, endl(), and x.

Here is the call graph for this function:


Member Data Documentation

mpz_t TFoundFactor::x [private]

Definition at line 10 of file FactorFound.H.

Referenced by get_factor(), operator<(), operator=(), output(), Save(), TFoundFactor(), and ~TFoundFactor().

unsigned int TFoundFactor::e [private]

Definition at line 11 of file FactorFound.H.

Referenced by get_factor(), operator=(), output(), Save(), and TFoundFactor().

string TFoundFactor::comment [private]

Definition at line 12 of file FactorFound.H.

Referenced by operator=(), output(), Save(), and TFoundFactor().


The documentation for this class was generated from the following files:
Generated on Wed Nov 7 23:32:21 2007 for Qsieve by  doxygen 1.5.4