dataflow
v1b3
|
#include <split_int64.h>
Public Member Functions | |
SplitInt64 (const Json::Value &storage) | |
SplitInt64 (Json::Value *storage) | |
virtual | ~SplitInt64 () |
const StringPiece | GetTypeName () const |
bool | has_high_bits () const |
void | clear_high_bits () |
int32 | get_high_bits () const |
void | set_high_bits (int32 value) |
bool | has_low_bits () const |
void | clear_low_bits () |
uint32 | get_low_bits () const |
void | set_low_bits (uint32 value) |
Static Public Member Functions | |
static SplitInt64 * | New () |
A representation of an int64, n, that is immune to precision loss when encoded in JSON.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'highBits
' attribute.
|
inline |
Clears the 'lowBits
' attribute.
|
inline |
Get the value of the 'highBits
' attribute.
|
inline |
Get the value of the 'lowBits
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'highBits
' attribute was set.
highBits
' attribute was set.
|
inline |
Determine if the 'lowBits
' attribute was set.
lowBits
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'highBits
' attribute.
The high order bits, including the sign: n >> 32.
[in] | value | The new value. |
|
inline |
Change the 'lowBits
' attribute.
The low order bits: n & 0xffffffff.
[in] | value | The new value. |