#include <GteUIntegerAP32.h>
Public Member Functions | |
uint32_t | GetBack () const |
std::vector< uint32_t > const & | GetBits () const |
std::vector< uint32_t > & | GetBits () |
int32_t | GetNumBits () const |
int32_t | GetSize () const |
UIntegerAP32 & | operator= (UIntegerAP32 const &number) |
UIntegerAP32 & | operator= (UIntegerAP32 &&number) |
bool | Read (std::ifstream &input) |
void | SetBack (uint32_t value) |
void | SetNumBits (uint32_t numBits) |
UIntegerAP32 () | |
UIntegerAP32 (UIntegerAP32 const &number) | |
UIntegerAP32 (uint32_t number) | |
UIntegerAP32 (uint64_t number) | |
UIntegerAP32 (int numBits) | |
UIntegerAP32 (UIntegerAP32 &&number) | |
bool | Write (std::ofstream &output) const |
Public Member Functions inherited from gte::UIntegerALU32< UIntegerAP32 > | |
void | Add (UIntegerAP32const &n0, UIntegerAP32const &n1) |
uint64_t | GetPrefix (int32_t numRequested) const |
void | Mul (UIntegerAP32const &n0, UIntegerAP32const &n1) |
bool | operator!= (UIntegerAP32const &number) const |
bool | operator< (UIntegerAP32const &number) const |
bool | operator<= (UIntegerAP32const &number) const |
bool | operator== (UIntegerAP32const &number) const |
bool | operator> (UIntegerAP32const &number) const |
bool | operator>= (UIntegerAP32const &number) const |
void | ShiftLeft (UIntegerAP32const &number, int32_t shift) |
int32_t | ShiftRightToOdd (UIntegerAP32const &number) |
void | Sub (UIntegerAP32const &n0, UIntegerAP32const &n1) |
Private Attributes | |
std::vector< uint32_t > | mBits |
int32_t | mNumBits |
Friends | |
class | UnitTestBSNumber |
Definition at line 40 of file GteUIntegerAP32.h.
UIntegerAP32::UIntegerAP32 | ( | ) |
Definition at line 19 of file GteUIntegerAP32.cpp.
UIntegerAP32::UIntegerAP32 | ( | UIntegerAP32 const & | number | ) |
Definition at line 25 of file GteUIntegerAP32.cpp.
UIntegerAP32::UIntegerAP32 | ( | uint32_t | number | ) |
Definition at line 30 of file GteUIntegerAP32.cpp.
UIntegerAP32::UIntegerAP32 | ( | uint64_t | number | ) |
Definition at line 50 of file GteUIntegerAP32.cpp.
UIntegerAP32::UIntegerAP32 | ( | int | numBits | ) |
Definition at line 75 of file GteUIntegerAP32.cpp.
UIntegerAP32::UIntegerAP32 | ( | UIntegerAP32 && | number | ) |
Definition at line 92 of file GteUIntegerAP32.cpp.
|
inline |
Definition at line 107 of file GteUIntegerAP32.h.
|
inline |
Definition at line 92 of file GteUIntegerAP32.h.
|
inline |
Definition at line 97 of file GteUIntegerAP32.h.
|
inline |
Definition at line 87 of file GteUIntegerAP32.h.
|
inline |
Definition at line 112 of file GteUIntegerAP32.h.
UIntegerAP32 & UIntegerAP32::operator= | ( | UIntegerAP32 const & | number | ) |
Definition at line 85 of file GteUIntegerAP32.cpp.
UIntegerAP32 & UIntegerAP32::operator= | ( | UIntegerAP32 && | number | ) |
Definition at line 97 of file GteUIntegerAP32.cpp.
bool UIntegerAP32::Read | ( | std::ifstream & | input | ) |
Definition at line 138 of file GteUIntegerAP32.cpp.
|
inline |
Definition at line 102 of file GteUIntegerAP32.h.
void UIntegerAP32::SetNumBits | ( | uint32_t | numBits | ) |
Definition at line 105 of file GteUIntegerAP32.cpp.
bool UIntegerAP32::Write | ( | std::ofstream & | output | ) | const |
Definition at line 122 of file GteUIntegerAP32.cpp.
|
friend |
Definition at line 76 of file GteUIntegerAP32.h.
|
private |
Definition at line 74 of file GteUIntegerAP32.h.
|
private |
Definition at line 73 of file GteUIntegerAP32.h.