Scippy

SoPlex

Sequential object-oriented simPlex

Rational::Private Class Reference

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...
 
Privateoperator= (const Private &p)
 assignment operator More...
 
Privateoperator= (const long double &r)
 assignment operator from long double More...
 
Privateoperator= (const double &r)
 assignment operator from double More...
 
Privateoperator= (const int &i)
 assignment operator from int More...
 

Public Attributes

long double privatevalue
 value More...
 

Detailed Description

Defines the "Pimpl"-class Private.

Definition at line 3112 of file rational.cpp.

Constructor & Destructor Documentation

◆ Private() [1/5]

Private ( )

default constructor

Definition at line 3121 of file rational.cpp.

Referenced by Rational::Rational().

◆ Private() [2/5]

Private ( const Private p)

copy constructor

Definition at line 3127 of file rational.cpp.

◆ Private() [3/5]

Private ( const long double &  r)

constructor from long double

Definition at line 3133 of file rational.cpp.

◆ Private() [4/5]

Private ( const double &  r)

constructor from double

Definition at line 3139 of file rational.cpp.

◆ Private() [5/5]

Private ( const int &  i)

constructor from int

Definition at line 3145 of file rational.cpp.

Member Function Documentation

◆ operator=() [1/4]

Private& operator= ( const Private p)

assignment operator

Definition at line 3151 of file rational.cpp.

References Rational::Private::privatevalue.

◆ operator=() [2/4]

Private& operator= ( const long double &  r)

assignment operator from long double

Definition at line 3158 of file rational.cpp.

◆ operator=() [3/4]

Private& operator= ( const double &  r)

assignment operator from double

Definition at line 3165 of file rational.cpp.

◆ operator=() [4/4]

Private& operator= ( const int &  i)

assignment operator from int

Definition at line 3172 of file rational.cpp.

Member Data Documentation

◆ privatevalue