#include <GteBSNumber.h>
Private Member Functions | |
template<typename UIntType , typename RealType > | |
RealType | Convert () const |
Private Attributes | |
BSNumber< UIntegerType > | mDenominator |
BSNumber< UIntegerType > | mNumerator |
Friends | |
class | UnitTestBSRational |
Definition at line 68 of file GteBSNumber.h.
gte::BSRational< UIntegerType >::BSRational | ( | ) |
Definition at line 105 of file GteBSRational.h.
gte::BSRational< UIntegerType >::BSRational | ( | BSRational< UIntegerType > const & | r | ) |
Definition at line 116 of file GteBSRational.h.
gte::BSRational< UIntegerType >::BSRational | ( | float | numerator | ) |
Definition at line 122 of file GteBSRational.h.
gte::BSRational< UIntegerType >::BSRational | ( | double | numerator | ) |
Definition at line 133 of file GteBSRational.h.
gte::BSRational< UIntegerType >::BSRational | ( | int32_t | numerator | ) |
Definition at line 144 of file GteBSRational.h.
gte::BSRational< UIntegerType >::BSRational | ( | uint32_t | numerator | ) |
Definition at line 155 of file GteBSRational.h.
gte::BSRational< UIntegerType >::BSRational | ( | int64_t | numerator | ) |
Definition at line 166 of file GteBSRational.h.
gte::BSRational< UIntegerType >::BSRational | ( | uint64_t | numerator | ) |
Definition at line 177 of file GteBSRational.h.
gte::BSRational< UIntegerType >::BSRational | ( | BSNumber< UIntegerType > const & | numerator | ) |
Definition at line 188 of file GteBSRational.h.
gte::BSRational< UIntegerType >::BSRational | ( | float | numerator, |
float | denominator | ||
) |
Definition at line 199 of file GteBSRational.h.
gte::BSRational< UIntegerType >::BSRational | ( | double | numerator, |
double | denominator | ||
) |
Definition at line 216 of file GteBSRational.h.
gte::BSRational< UIntegerType >::BSRational | ( | BSNumber< UIntegerType > const & | numerator, |
BSNumber< UIntegerType > const & | denominator | ||
) |
Definition at line 233 of file GteBSRational.h.
gte::BSRational< UIntegerType >::BSRational | ( | BSRational< UIntegerType > && | r | ) |
Definition at line 284 of file GteBSRational.h.
|
private |
Definition at line 526 of file GteBSRational.h.
|
inline |
Definition at line 313 of file GteBSRational.h.
|
inline |
Definition at line 307 of file GteBSRational.h.
|
inline |
Definition at line 301 of file GteBSRational.h.
gte::BSRational< UIntegerType >::operator double | ( | ) | const |
Definition at line 266 of file GteBSRational.h.
gte::BSRational< UIntegerType >::operator float | ( | ) | const |
Definition at line 260 of file GteBSRational.h.
bool gte::BSRational< UIntegerType >::operator!= | ( | BSRational< UIntegerType > const & | r | ) | const |
Definition at line 336 of file GteBSRational.h.
BSRational< UIntegerType > gte::BSRational< UIntegerType >::operator* | ( | BSRational< UIntegerType > const & | r | ) | const |
Definition at line 438 of file GteBSRational.h.
BSRational< UIntegerType > & gte::BSRational< UIntegerType >::operator*= | ( | BSRational< UIntegerType > const & | r | ) |
Definition at line 497 of file GteBSRational.h.
BSRational< UIntegerType > gte::BSRational< UIntegerType >::operator+ | ( | ) | const |
Definition at line 386 of file GteBSRational.h.
BSRational< UIntegerType > gte::BSRational< UIntegerType >::operator+ | ( | BSRational< UIntegerType > const & | r | ) | const |
Definition at line 398 of file GteBSRational.h.
BSRational< UIntegerType > & gte::BSRational< UIntegerType >::operator+= | ( | BSRational< UIntegerType > const & | r | ) |
Definition at line 481 of file GteBSRational.h.
BSRational< UIntegerType > gte::BSRational< UIntegerType >::operator- | ( | ) | const |
Definition at line 392 of file GteBSRational.h.
BSRational< UIntegerType > gte::BSRational< UIntegerType >::operator- | ( | BSRational< UIntegerType > const & | r | ) | const |
Definition at line 418 of file GteBSRational.h.
BSRational< UIntegerType > & gte::BSRational< UIntegerType >::operator-= | ( | BSRational< UIntegerType > const & | r | ) |
Definition at line 489 of file GteBSRational.h.
BSRational< UIntegerType > gte::BSRational< UIntegerType >::operator/ | ( | BSRational< UIntegerType > const & | r | ) | const |
Definition at line 456 of file GteBSRational.h.
BSRational< UIntegerType > & gte::BSRational< UIntegerType >::operator/= | ( | BSRational< UIntegerType > const & | r | ) |
Definition at line 505 of file GteBSRational.h.
bool gte::BSRational< UIntegerType >::operator< | ( | BSRational< UIntegerType > const & | r | ) | const |
Definition at line 342 of file GteBSRational.h.
bool gte::BSRational< UIntegerType >::operator<= | ( | BSRational< UIntegerType > const & | r | ) | const |
Definition at line 368 of file GteBSRational.h.
BSRational< UIntegerType > & gte::BSRational< UIntegerType >::operator= | ( | BSRational< UIntegerType > const & | r | ) |
Definition at line 272 of file GteBSRational.h.
BSRational< UIntegerType > & gte::BSRational< UIntegerType >::operator= | ( | BSRational< UIntegerType > && | r | ) |
Definition at line 290 of file GteBSRational.h.
bool gte::BSRational< UIntegerType >::operator== | ( | BSRational< UIntegerType > const & | r | ) | const |
Definition at line 319 of file GteBSRational.h.
bool gte::BSRational< UIntegerType >::operator> | ( | BSRational< UIntegerType > const & | r | ) | const |
Definition at line 374 of file GteBSRational.h.
bool gte::BSRational< UIntegerType >::operator>= | ( | BSRational< UIntegerType > const & | r | ) | const |
Definition at line 380 of file GteBSRational.h.
bool gte::BSRational< UIntegerType >::Read | ( | std::ifstream & | input | ) |
Definition at line 519 of file GteBSRational.h.
bool gte::BSRational< UIntegerType >::Write | ( | std::ofstream & | output | ) | const |
Definition at line 513 of file GteBSRational.h.
|
friend |
Definition at line 100 of file GteBSRational.h.
|
private |
Definition at line 98 of file GteBSRational.h.
|
private |
Definition at line 98 of file GteBSRational.h.