Public Member Functions | Private Attributes | Friends | List of all members
gte::UIntegerAP32 Class Reference

#include <GteUIntegerAP32.h>

Inheritance diagram for gte::UIntegerAP32:
Inheritance graph
[legend]

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
 
UIntegerAP32operator= (UIntegerAP32 const &number)
 
UIntegerAP32operator= (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
 

Detailed Description

Definition at line 40 of file GteUIntegerAP32.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

uint32_t gte::UIntegerAP32::GetBack ( ) const
inline

Definition at line 107 of file GteUIntegerAP32.h.

std::vector< uint32_t > const & gte::UIntegerAP32::GetBits ( ) const
inline

Definition at line 92 of file GteUIntegerAP32.h.

std::vector< uint32_t > & gte::UIntegerAP32::GetBits ( )
inline

Definition at line 97 of file GteUIntegerAP32.h.

int32_t gte::UIntegerAP32::GetNumBits ( ) const
inline

Definition at line 87 of file GteUIntegerAP32.h.

int32_t gte::UIntegerAP32::GetSize ( ) const
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.

void gte::UIntegerAP32::SetBack ( uint32_t  value)
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.

Friends And Related Function Documentation

friend class UnitTestBSNumber
friend

Definition at line 76 of file GteUIntegerAP32.h.

Member Data Documentation

std::vector<uint32_t> gte::UIntegerAP32::mBits
private

Definition at line 74 of file GteUIntegerAP32.h.

int32_t gte::UIntegerAP32::mNumBits
private

Definition at line 73 of file GteUIntegerAP32.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:07