Back to index

lightning-sunbird  0.9+nobinonly
Classes | Typedefs | Functions
nsInt64.h File Reference
#include "prlong.h"
#include "nscore.h"

Go to the source code of this file.

Classes

class  nsTInt64< T >
 This class encapsulates full 64-bit integer functionality and provides simple arithmetic and conversion operations. More...

Typedefs

typedef nsTInt64< PRInt64nsInt64
typedef nsTInt64< PRUint64nsUint64

Functions

PRBool operator> (const nsInt64 &aObject1, const nsInt64 &aObject2)
 Determine if one 64-bit integer is strictly greater than another, using signed values.
PRBool operator>= (const nsInt64 &aObject1, const nsInt64 &aObject2)
 Determine if one 64-bit integer is greater than or equal to another, using signed values.
PRBool operator< (const nsInt64 &aObject1, const nsInt64 &aObject2)
 Determine if one 64-bit integer is strictly less than another, using signed values.
PRBool operator<= (const nsInt64 &aObject1, const nsInt64 &aObject2)
 Determine if one 64-bit integers is less than or equal to another, using signed values.

Typedef Documentation

Definition at line 362 of file nsInt64.h.

Definition at line 363 of file nsInt64.h.


Function Documentation

PRBool operator< ( const nsInt64 aObject1,
const nsInt64 aObject2 
) [inline]

Determine if one 64-bit integer is strictly less than another, using signed values.

Definition at line 395 of file nsInt64.h.

                                                             {
    return LL_CMP(aObject1.mValue, <, aObject2.mValue);
}

Here is the caller graph for this function:

PRBool operator<= ( const nsInt64 aObject1,
const nsInt64 aObject2 
) [inline]

Determine if one 64-bit integers is less than or equal to another, using signed values.

Definition at line 408 of file nsInt64.h.

                                                              {
    return ! LL_CMP(aObject1.mValue, >, aObject2.mValue);
}

Here is the caller graph for this function:

PRBool operator> ( const nsInt64 aObject1,
const nsInt64 aObject2 
) [inline]

Determine if one 64-bit integer is strictly greater than another, using signed values.

Definition at line 369 of file nsInt64.h.

                                                             {
    return LL_CMP(aObject1.mValue, >, aObject2.mValue);
}

Here is the caller graph for this function:

PRBool operator>= ( const nsInt64 aObject1,
const nsInt64 aObject2 
) [inline]

Determine if one 64-bit integer is greater than or equal to another, using signed values.

Definition at line 382 of file nsInt64.h.

                                                              {
    return ! LL_CMP(aObject1.mValue, <, aObject2.mValue);
}

Here is the caller graph for this function: