VTK  9.2.6
vtkLargeInteger Class Reference

class for arbitrarily large ints More...

#include <vtkLargeInteger.h>

Public Member Functions

 vtkLargeInteger (void)
 vtkLargeInteger (long n)
 vtkLargeInteger (unsigned long n)
 vtkLargeInteger (int n)
 vtkLargeInteger (unsigned int n)
 vtkLargeInteger (const vtkLargeInteger &n)
 vtkLargeInteger (long long n)
 vtkLargeInteger (unsigned long long n)
 ~vtkLargeInteger (void)
char CastToChar (void) const
short CastToShort (void) const
int CastToInt (void) const
long CastToLong (void) const
unsigned long CastToUnsignedLong (void) const
int IsEven (void) const
int IsOdd (void) const
int GetLength (void) const
int GetBit (unsigned int p) const
int IsZero () const
int GetSign (void) const
void Truncate (unsigned int n)
void Complement (void)
bool operator== (const vtkLargeInteger &n) const
bool operator!= (const vtkLargeInteger &n) const
bool operator< (const vtkLargeInteger &n) const
bool operator<= (const vtkLargeInteger &n) const
bool operator> (const vtkLargeInteger &n) const
bool operator>= (const vtkLargeInteger &n) const
vtkLargeIntegeroperator= (const vtkLargeInteger &n)
vtkLargeIntegeroperator+= (const vtkLargeInteger &n)
vtkLargeIntegeroperator-= (const vtkLargeInteger &n)
vtkLargeIntegeroperator<<= (int n)
vtkLargeIntegeroperator>>= (int n)
vtkLargeIntegeroperator++ (void)
vtkLargeIntegeroperator-- (void)
vtkLargeInteger operator++ (int)
vtkLargeInteger operator-- (int)
vtkLargeIntegeroperator*= (const vtkLargeInteger &n)
vtkLargeIntegeroperator/= (const vtkLargeInteger &n)
vtkLargeIntegeroperator%= (const vtkLargeInteger &n)
vtkLargeIntegeroperator&= (const vtkLargeInteger &n)
vtkLargeIntegeroperator|= (const vtkLargeInteger &n)
vtkLargeIntegeroperator^= (const vtkLargeInteger &n)
vtkLargeInteger operator+ (const vtkLargeInteger &n) const
vtkLargeInteger operator- (const vtkLargeInteger &n) const
vtkLargeInteger operator* (const vtkLargeInteger &n) const
vtkLargeInteger operator/ (const vtkLargeInteger &n) const
vtkLargeInteger operator% (const vtkLargeInteger &n) const
vtkLargeInteger operator& (const vtkLargeInteger &n) const
vtkLargeInteger operator| (const vtkLargeInteger &n) const
vtkLargeInteger operator^ (const vtkLargeInteger &n) const
vtkLargeInteger operator<< (int n) const
vtkLargeInteger operator>> (int n) const

Friends

ostream & operator<< (ostream &s, const vtkLargeInteger &n)
istream & operator>> (istream &s, vtkLargeInteger &n)

Detailed Description

class for arbitrarily large ints

Definition at line 26 of file vtkLargeInteger.h.

Constructor & Destructor Documentation

◆ vtkLargeInteger() [1/8]

vtkLargeInteger::vtkLargeInteger ( void )

◆ vtkLargeInteger() [2/8]

vtkLargeInteger::vtkLargeInteger ( long n)

◆ vtkLargeInteger() [3/8]

vtkLargeInteger::vtkLargeInteger ( unsigned long n)

◆ vtkLargeInteger() [4/8]

vtkLargeInteger::vtkLargeInteger ( int n)

◆ vtkLargeInteger() [5/8]

vtkLargeInteger::vtkLargeInteger ( unsigned int n)

◆ vtkLargeInteger() [6/8]

vtkLargeInteger::vtkLargeInteger ( const vtkLargeInteger & n)

◆ vtkLargeInteger() [7/8]

vtkLargeInteger::vtkLargeInteger ( long long n)

◆ vtkLargeInteger() [8/8]

vtkLargeInteger::vtkLargeInteger ( unsigned long long n)

◆ ~vtkLargeInteger()

vtkLargeInteger::~vtkLargeInteger ( void )

Member Function Documentation

◆ CastToChar()

char vtkLargeInteger::CastToChar ( void ) const

◆ CastToShort()

short vtkLargeInteger::CastToShort ( void ) const

◆ CastToInt()

int vtkLargeInteger::CastToInt ( void ) const

◆ CastToLong()

long vtkLargeInteger::CastToLong ( void ) const

◆ CastToUnsignedLong()

unsigned long vtkLargeInteger::CastToUnsignedLong ( void ) const

◆ IsEven()

int vtkLargeInteger::IsEven ( void ) const

◆ IsOdd()

int vtkLargeInteger::IsOdd ( void ) const

◆ GetLength()

int vtkLargeInteger::GetLength ( void ) const

◆ GetBit()

int vtkLargeInteger::GetBit ( unsigned int p) const

◆ IsZero()

int vtkLargeInteger::IsZero ( ) const

◆ GetSign()

int vtkLargeInteger::GetSign ( void ) const

◆ Truncate()

void vtkLargeInteger::Truncate ( unsigned int n)

◆ Complement()

void vtkLargeInteger::Complement ( void )

◆ operator==()

bool vtkLargeInteger::operator== ( const vtkLargeInteger & n) const

◆ operator!=()

bool vtkLargeInteger::operator!= ( const vtkLargeInteger & n) const

◆ operator<()

bool vtkLargeInteger::operator< ( const vtkLargeInteger & n) const

◆ operator<=()

bool vtkLargeInteger::operator<= ( const vtkLargeInteger & n) const

◆ operator>()

bool vtkLargeInteger::operator> ( const vtkLargeInteger & n) const

◆ operator>=()

bool vtkLargeInteger::operator>= ( const vtkLargeInteger & n) const

◆ operator=()

vtkLargeInteger & vtkLargeInteger::operator= ( const vtkLargeInteger & n)

◆ operator+=()

vtkLargeInteger & vtkLargeInteger::operator+= ( const vtkLargeInteger & n)

◆ operator-=()

vtkLargeInteger & vtkLargeInteger::operator-= ( const vtkLargeInteger & n)

◆ operator<<=()

vtkLargeInteger & vtkLargeInteger::operator<<= ( int n)

◆ operator>>=()

vtkLargeInteger & vtkLargeInteger::operator>>= ( int n)

◆ operator++() [1/2]

vtkLargeInteger & vtkLargeInteger::operator++ ( void )

◆ operator--() [1/2]

vtkLargeInteger & vtkLargeInteger::operator-- ( void )

◆ operator++() [2/2]

vtkLargeInteger vtkLargeInteger::operator++ ( int )

◆ operator--() [2/2]

vtkLargeInteger vtkLargeInteger::operator-- ( int )

◆ operator*=()

vtkLargeInteger & vtkLargeInteger::operator*= ( const vtkLargeInteger & n)

◆ operator/=()

vtkLargeInteger & vtkLargeInteger::operator/= ( const vtkLargeInteger & n)

◆ operator%=()

vtkLargeInteger & vtkLargeInteger::operator%= ( const vtkLargeInteger & n)

◆ operator&=()

vtkLargeInteger & vtkLargeInteger::operator&= ( const vtkLargeInteger & n)

◆ operator|=()

vtkLargeInteger & vtkLargeInteger::operator|= ( const vtkLargeInteger & n)

◆ operator^=()

vtkLargeInteger & vtkLargeInteger::operator^= ( const vtkLargeInteger & n)

◆ operator+()

vtkLargeInteger vtkLargeInteger::operator+ ( const vtkLargeInteger & n) const

◆ operator-()

vtkLargeInteger vtkLargeInteger::operator- ( const vtkLargeInteger & n) const

◆ operator*()

vtkLargeInteger vtkLargeInteger::operator* ( const vtkLargeInteger & n) const

◆ operator/()

vtkLargeInteger vtkLargeInteger::operator/ ( const vtkLargeInteger & n) const

◆ operator%()

vtkLargeInteger vtkLargeInteger::operator% ( const vtkLargeInteger & n) const

◆ operator&()

vtkLargeInteger vtkLargeInteger::operator& ( const vtkLargeInteger & n) const

◆ operator|()

vtkLargeInteger vtkLargeInteger::operator| ( const vtkLargeInteger & n) const

◆ operator^()

vtkLargeInteger vtkLargeInteger::operator^ ( const vtkLargeInteger & n) const

◆ operator<<()

vtkLargeInteger vtkLargeInteger::operator<< ( int n) const

◆ operator>>()

vtkLargeInteger vtkLargeInteger::operator>> ( int n) const

◆ operator<<

ostream & operator<< ( ostream & s,
const vtkLargeInteger & n )
friend

◆ operator>>

istream & operator>> ( istream & s,
vtkLargeInteger & n )
friend

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