dataflow  v1b3
Public Member Functions | Static Public Member Functions | List of all members
google_dataflow_api::SplitInt64 Class Reference

#include <split_int64.h>

Inheritance diagram for google_dataflow_api::SplitInt64:

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 SplitInt64New ()
 

Detailed Description

A representation of an int64, n, that is immune to precision loss when encoded in JSON.

Constructor & Destructor Documentation

◆ SplitInt64() [1/2]

google_dataflow_api::SplitInt64::SplitInt64 ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ SplitInt64() [2/2]

google_dataflow_api::SplitInt64::SplitInt64 ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~SplitInt64()

google_dataflow_api::SplitInt64::~SplitInt64 ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_high_bits()

void google_dataflow_api::SplitInt64::clear_high_bits ( )
inline

Clears the 'highBits' attribute.

◆ clear_low_bits()

void google_dataflow_api::SplitInt64::clear_low_bits ( )
inline

Clears the 'lowBits' attribute.

◆ get_high_bits()

int32 google_dataflow_api::SplitInt64::get_high_bits ( ) const
inline

Get the value of the 'highBits' attribute.

◆ get_low_bits()

uint32 google_dataflow_api::SplitInt64::get_low_bits ( ) const
inline

Get the value of the 'lowBits' attribute.

◆ GetTypeName()

const StringPiece google_dataflow_api::SplitInt64::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::SplitInt64

◆ has_high_bits()

bool google_dataflow_api::SplitInt64::has_high_bits ( ) const
inline

Determine if the 'highBits' attribute was set.

Returns
true if the 'highBits' attribute was set.

◆ has_low_bits()

bool google_dataflow_api::SplitInt64::has_low_bits ( ) const
inline

Determine if the 'lowBits' attribute was set.

Returns
true if the 'lowBits' attribute was set.

◆ New()

SplitInt64 * google_dataflow_api::SplitInt64::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_high_bits()

void google_dataflow_api::SplitInt64::set_high_bits ( int32  value)
inline

Change the 'highBits' attribute.

The high order bits, including the sign: n >> 32.

Parameters
[in]valueThe new value.

◆ set_low_bits()

void google_dataflow_api::SplitInt64::set_low_bits ( uint32  value)
inline

Change the 'lowBits' attribute.

The low order bits: n & 0xffffffff.

Parameters
[in]valueThe new value.

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