Defines the "Pimpl"-class Private. More...
Public Member Functions | |
Private () | |
default constructor More... | |
Private (const Private &p) | |
copy constructor More... | |
Private (const long double &r) | |
constructor from long double More... | |
Private (const double &r) | |
constructor from double More... | |
Private (const int &i) | |
constructor from int More... | |
Private (const mpq_t &q) | |
constructor from mpq_t More... | |
~Private () | |
destructor More... | |
Private & | operator= (const Private &p) |
assignment operator More... | |
Private & | operator= (const long double &r) |
assignment operator from long double More... | |
Private & | operator= (const double &r) |
assignment operator from double More... | |
Private & | operator= (const int &i) |
assignment operator from int More... | |
Private & | operator= (const mpq_t &q) |
assignment operator from mpq_t More... | |
Private *& | prev () |
previous Private element More... | |
Private *const & | prev () const |
previous Private element More... | |
Private *& | next () |
next Private element More... | |
Private *const & | next () const |
next Private element More... | |
Public Attributes | |
mpq_t | privatevalue |
actual value of the Rational object More... | |
Private * | theprev |
pointer to the previous element in the list More... | |
Private * | thenext |
pointer to the next element in the list More... | |
Defines the "Pimpl"-class Private.
Definition at line 92 of file rational.cpp.
Private | ( | ) |
default constructor
Definition at line 101 of file rational.cpp.
Referenced by soplex::dmaxSizeRational(), and Rational::Rational().
copy constructor
Definition at line 109 of file rational.cpp.
References Rational::Private::privatevalue.
Private | ( | const long double & | r | ) |
constructor from long double
Definition at line 120 of file rational.cpp.
References Rational::dpointer, and Rational::Private::privatevalue.
Private | ( | const double & | r | ) |
constructor from double
Definition at line 139 of file rational.cpp.
References Rational::dpointer, and Rational::Private::privatevalue.
Private | ( | const int & | i | ) |
constructor from int
Definition at line 158 of file rational.cpp.
References Rational::dpointer, and Rational::Private::privatevalue.
Private | ( | const mpq_t & | q | ) |
constructor from mpq_t
Definition at line 177 of file rational.cpp.
~Private | ( | ) |
Private*& next | ( | ) |
next Private element
Definition at line 348 of file rational.cpp.
References Rational::Private::thenext.
Private* const& next | ( | ) | const |
next Private element
Definition at line 354 of file rational.cpp.
References Rational::Private::thenext.
assignment operator
Definition at line 192 of file rational.cpp.
References Rational::Private::privatevalue.
Referenced by soplex::dmaxSizeRational().
Private& operator= | ( | const long double & | r | ) |
assignment operator from long double
Definition at line 207 of file rational.cpp.
References Rational::dpointer, and Rational::Private::privatevalue.
Private& operator= | ( | const double & | r | ) |
assignment operator from double
Definition at line 245 of file rational.cpp.
References Rational::dpointer, and Rational::Private::privatevalue.
Private& operator= | ( | const int & | i | ) |
assignment operator from int
Definition at line 283 of file rational.cpp.
References Rational::dpointer, and Rational::Private::privatevalue.
Private& operator= | ( | const mpq_t & | q | ) |
assignment operator from mpq_t
Definition at line 321 of file rational.cpp.
Private*& prev | ( | ) |
previous Private element
Definition at line 336 of file rational.cpp.
References Rational::Private::theprev.
Private* const& prev | ( | ) | const |
previous Private element
Definition at line 342 of file rational.cpp.
References Rational::Private::theprev.
mpq_t privatevalue |
actual value of the Rational object
Definition at line 96 of file rational.cpp.
Referenced by Rational::addProduct(), Rational::addQuotient(), soplex::compareRational(), soplex::dmaxSizeRational(), Rational::getMpqPtr(), Rational::getMpqPtr_w(), Rational::getMpqRef(), Rational::getMpqRef_w(), Rational::invert(), Rational::isAdjacentTo(), Rational::isNextTo(), Rational::operator double(), Rational::operator long double(), soplex::operator!=(), Rational::operator*(), soplex::operator*(), Rational::operator*=(), Rational::operator+(), Rational::operator+=(), Rational::operator-(), soplex::operator-(), Rational::operator-=(), Rational::operator/(), soplex::operator/(), Rational::operator/=(), soplex::operator<(), soplex::operator<<(), soplex::operator<=(), Rational::Private::operator=(), soplex::operator==(), soplex::operator>(), soplex::operator>=(), Rational::powRound(), Rational::Private::Private(), Rational::Rational(), Rational::readString(), soplex::readStringRational(), soplex::sign(), Rational::sizeInBase(), soplex::spxAbs(), Rational::subProduct(), and Rational::subQuotient().
Private* thenext |
pointer to the next element in the list
Definition at line 98 of file rational.cpp.
Referenced by Rational::Private::next().
Private* theprev |
pointer to the previous element in the list
Definition at line 97 of file rational.cpp.
Referenced by Rational::Private::prev().