ILongLong
- This class represents a 64-bit signed integer.
ILongLong - Member Functions and Data by Group
Constructors & Destructor
Construct and destruct long long objects.
- ~ILongLong
public:
~ILongLong()
- Destroys this object.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- ILongLong
- Constructs a long long object from a number of different types.
Overload 1
public:
ILongLong( long mostSignificant,
unsigned long leastSignificant )
- Constructs from two long values (one signed and one unsigned) which represent the low and high portions of the long long.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Overload 2
public:
ILongLong()
- Default constructor which sets the value to zero.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Overload 3
public:
ILongLong(double)
- Constructs from a double value. Any fractional part is ignored.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Overload 4
public:
ILongLong(long double)
- Constructs from a long double. Any fractional part is ignored.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Overload 5
public:
ILongLong(unsigned long)
- Constructs from an unsigned long value.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Overload 6
public:
ILongLong(unsigned int)
- Constructs from an unsigned int value.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Overload 7
public:
ILongLong(long)
- Constructs from a long value.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Overload 8
public:
ILongLong(int)
- Constructs from an int.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Conversion Operators
Convert the object value to other binary formats.
- operator long double
public:
operator long double() const
- Implicit conversion to get the value out as a double.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Hash Support
Hash the object.
- Hash
public:
HashResult Hash() const
- Returns a hash value for this object.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Mathematical Operators
Perform mathematical operations on long long objects.
public:
ILongLong & operator| = ( ) (const ILongLong&)
- Does a bitwise OR of this object with the passed object
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- operator %=
public:
ILongLong& operator %=(const ILongLong&)
- Modulo divides this object by the passed long long object.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- operator &=
public:
ILongLong& operator &=(const ILongLong&)
- Performs a bitwize AND operation on this object using the passed long long object.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- operator *=
public:
ILongLong& operator *=(const ILongLong&)
- Multiplies this object by the passed long long object.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- operator ++
- Pre-increments the value of this object.
Overload 1
public:
ILongLong& operator ++()
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Overload 2
public:
ILongLong operator ++(int)
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- operator +=
public:
ILongLong& operator +=(const ILongLong&)
- Adds the passed long long object to this object.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- operator --
- Post-decrements the value of this object.
Overload 1
public:
ILongLong operator --(int)
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Overload 2
public:
ILongLong& operator --()
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- operator -=
public:
ILongLong& operator -=(const ILongLong&)
- Subtracts the passed long long object from this object.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- operator /=
public:
ILongLong& operator /=(const ILongLong&)
- Divides this object by the passed long long object.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- operator ^=
public:
ILongLong& operator ^=(const ILongLong&)
- Does a bitwise XOR of this object with the passed object.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Member Access
Access member data of the long long object.
- GetLeastSignificant
public:
unsigned long GetLeastSignificant() const
- Returns the LSW field of the long long.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- GetMostSignificant
public:
long GetMostSignificant() const
- Returns the MSW of this long long object.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Min-Max Support
Get minimum and maximum values for long long objects.
- ILongLongMax
public:
static ILongLong ILongLongMax(void)
- Returns a long long which contains the maximum long long value.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- ILongLongMin
public:
static ILongLong ILongLongMin(void)
- Returns a long long which contains the minimum long long value.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
Shift Operators
Shift the long long value to the left or right.
- operator <<=
public:
ILongLong& operator <<=(int)
- Shifts this object left by the indicated number of bits.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
- operator >>=
public:
ILongLong& operator >>=(int)
- Shifts this object right by the indicated number of bits.
- Supported Platforms
Windows |
OS/2 |
AIX |
Yes |
Yes |
Yes |
ILongLong - Inherited Member Functions and Data
Inherited Public Functions
Inherited Public Data
Inherited Protected Functions
Inherited Protected Data