Public Member Functions | Private Attributes | Friends | List of all members
gte::UIntegerFP32< N > Class Template Reference

#include <GteUIntegerFP32.h>

Inheritance diagram for gte::UIntegerFP32< N >:
Inheritance graph
[legend]

Public Member Functions

uint32_t GetBack () const
 
std::array< uint32_t, N > const & GetBits () const
 
std::array< uint32_t, N > & GetBits ()
 
int32_t GetNumBits () const
 
int32_t GetSize () const
 
UIntegerFP32operator= (UIntegerFP32 const &number)
 
UIntegerFP32operator= (UIntegerFP32 &&number)
 
bool Read (std::ifstream &input)
 
void SetBack (uint32_t value)
 
void SetNumBits (uint32_t numBits)
 
 UIntegerFP32 ()
 
 UIntegerFP32 (UIntegerFP32 const &number)
 
 UIntegerFP32 (uint32_t number)
 
 UIntegerFP32 (uint64_t number)
 
 UIntegerFP32 (int numBits)
 
 UIntegerFP32 (UIntegerFP32 &&number)
 
bool Write (std::ofstream &output) const
 
- Public Member Functions inherited from gte::UIntegerALU32< UIntegerFP32< N > >
void Add (UIntegerFP32< N >const &n0, UIntegerFP32< N >const &n1)
 
uint64_t GetPrefix (int32_t numRequested) const
 
void Mul (UIntegerFP32< N >const &n0, UIntegerFP32< N >const &n1)
 
bool operator!= (UIntegerFP32< N >const &number) const
 
bool operator< (UIntegerFP32< N >const &number) const
 
bool operator<= (UIntegerFP32< N >const &number) const
 
bool operator== (UIntegerFP32< N >const &number) const
 
bool operator> (UIntegerFP32< N >const &number) const
 
bool operator>= (UIntegerFP32< N >const &number) const
 
void ShiftLeft (UIntegerFP32< N >const &number, int32_t shift)
 
int32_t ShiftRightToOdd (UIntegerFP32< N >const &number)
 
void Sub (UIntegerFP32< N >const &n0, UIntegerFP32< N >const &n1)
 

Private Attributes

std::array< uint32_t, N > mBits
 
int32_t mNumBits
 
int32_t mSize
 

Friends

class UnitTestBSNumber
 

Detailed Description

template<int N>
class gte::UIntegerFP32< N >

Definition at line 46 of file GteUIntegerFP32.h.

Constructor & Destructor Documentation

template<int N>
gte::UIntegerFP32< N >::UIntegerFP32 ( )

Definition at line 100 of file GteUIntegerFP32.h.

template<int N>
gte::UIntegerFP32< N >::UIntegerFP32 ( UIntegerFP32< N > const &  number)

Definition at line 109 of file GteUIntegerFP32.h.

template<int N>
gte::UIntegerFP32< N >::UIntegerFP32 ( uint32_t  number)

Definition at line 117 of file GteUIntegerFP32.h.

template<int N>
gte::UIntegerFP32< N >::UIntegerFP32 ( uint64_t  number)

Definition at line 141 of file GteUIntegerFP32.h.

template<int N>
gte::UIntegerFP32< N >::UIntegerFP32 ( int  numBits)

Definition at line 170 of file GteUIntegerFP32.h.

template<int N>
gte::UIntegerFP32< N >::UIntegerFP32 ( UIntegerFP32< N > &&  number)

Definition at line 199 of file GteUIntegerFP32.h.

Member Function Documentation

template<int N>
uint32_t gte::UIntegerFP32< N >::GetBack ( ) const
inline

Definition at line 256 of file GteUIntegerFP32.h.

template<int N>
std::array< uint32_t, N > const & gte::UIntegerFP32< N >::GetBits ( ) const
inline

Definition at line 238 of file GteUIntegerFP32.h.

template<int N>
std::array< uint32_t, N > & gte::UIntegerFP32< N >::GetBits ( )
inline

Definition at line 244 of file GteUIntegerFP32.h.

template<int N>
int32_t gte::UIntegerFP32< N >::GetNumBits ( ) const
inline

Definition at line 232 of file GteUIntegerFP32.h.

template<int N>
int32_t gte::UIntegerFP32< N >::GetSize ( ) const
inline

Definition at line 262 of file GteUIntegerFP32.h.

template<int N>
UIntegerFP32< N > & gte::UIntegerFP32< N >::operator= ( UIntegerFP32< N > const &  number)

Definition at line 187 of file GteUIntegerFP32.h.

template<int N>
UIntegerFP32< N > & gte::UIntegerFP32< N >::operator= ( UIntegerFP32< N > &&  number)

Definition at line 205 of file GteUIntegerFP32.h.

template<int N>
bool gte::UIntegerFP32< N >::Read ( std::ifstream &  input)

Definition at line 285 of file GteUIntegerFP32.h.

template<int N>
void gte::UIntegerFP32< N >::SetBack ( uint32_t  value)
inline

Definition at line 250 of file GteUIntegerFP32.h.

template<int N>
void gte::UIntegerFP32< N >::SetNumBits ( uint32_t  numBits)

Definition at line 217 of file GteUIntegerFP32.h.

template<int N>
bool gte::UIntegerFP32< N >::Write ( std::ofstream &  output) const

Definition at line 268 of file GteUIntegerFP32.h.

Friends And Related Function Documentation

template<int N>
friend class UnitTestBSNumber
friend

Definition at line 88 of file GteUIntegerFP32.h.

Member Data Documentation

template<int N>
std::array<uint32_t, N> gte::UIntegerFP32< N >::mBits
private

Definition at line 86 of file GteUIntegerFP32.h.

template<int N>
int32_t gte::UIntegerFP32< N >::mNumBits
private

Definition at line 85 of file GteUIntegerFP32.h.

template<int N>
int32_t gte::UIntegerFP32< N >::mSize
private

Definition at line 85 of file GteUIntegerFP32.h.


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


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