* @brief This is the implementation file for LongLong class.
* @see Number
*/
-
#include <wchar.h>
#include <limits.h>
#include <errno.h>
bool
LongLong::Equals(const Object& obj) const
{
- const LongLong* pOther = dynamic_cast <const LongLong*>(&obj);
+ const LongLong* pOther = dynamic_cast< const LongLong* >(&obj);
if (pOther == null)
{
return false;
int
LongLong::GetHashCode(void) const
{
- return static_cast<int> (value);
+ return static_cast< int >(value);
}
int
LongLong::GetHashCode(long long val)
{
- return static_cast<int> (val);
+ return static_cast< int >(val);
}
char
LongLong::ToChar(void) const
{
- return static_cast<char> (value);
+ return static_cast< char >(value);
}
short
LongLong::ToShort(void) const
{
- return static_cast<short> (value);
+ return static_cast< short >(value);
}
int
LongLong::ToInt(void) const
{
- return static_cast<int> (value);
+ return static_cast< int >(value);
}
long
LongLong::ToLong(void) const
{
- return static_cast<long> (value);
+ return static_cast< long >(value);
}
float
LongLong::ToFloat(void) const
{
- return static_cast<float> (value);
+ return static_cast< float >(value);
}
double
LongLong::ToDouble(void) const
{
- return static_cast<double> (value);
+ return static_cast< double >(value);
}
long long