All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Fields | Private Attributes | Related Functions
as_pair Struct Reference

Detailed Description

A Pair of values: (_1,_2)

Definition at line 44 of file modules/common/src/include/aerospike/as_pair.h.

#include "as_pair.h"

+ Collaboration diagram for as_pair:

Data Fields

as_val_1
 
as_val_2
 

Private Attributes

as_val _
 

Related Functions

(Note that these are not member functions.)

static as_valas_pair_1 (as_pair *pair)
 
static void as_pair_destroy (as_pair *pair)
 
static as_pairas_pair_fromval (const as_val *v)
 
as_pairas_pair_init (as_pair *pair, as_val *_1, as_val *_2)
 
as_pairas_pair_new (as_val *_1, as_val *_2)
 
static as_valas_pair_toval (const as_pair *pair)
 

Friends And Related Function Documentation

static as_val * as_pair_1 ( as_pair pair)
related

Get the first value of the pair

Definition at line 113 of file modules/common/src/include/aerospike/as_pair.h.

static void as_pair_destroy ( as_pair pair)
related

Destroy the as_pair and release associated resources.

Definition at line 99 of file modules/common/src/include/aerospike/as_pair.h.

static as_pair * as_pair_fromval ( const as_val v)
related

Convert from an as_val.

Definition at line 145 of file modules/common/src/include/aerospike/as_pair.h.

as_pair * as_pair_init ( as_pair pair,
as_val _1,
as_val _2 
)
related

Initializes a stack allocated as_pair.

Parameters
pairThe pair to initialize.
_1The first value.
_2The second value.
Returns
On success, the new pair. Otherwise NULL.
as_pair * as_pair_new ( as_val _1,
as_val _2 
)
related

Create and initializes a new heap allocated as_pair.

Parameters
_1The first value.
_2The second value.
Returns
On success, the new pair. Otherwise NULL.
static as_val * as_pair_toval ( const as_pair pair)
related

Convert to an as_val.

Definition at line 135 of file modules/common/src/include/aerospike/as_pair.h.

Field Documentation

as_val as_pair::_
private

as_pair is a subtype of as_val. You can cast as_pair to as_val.

Definition at line 51 of file modules/common/src/include/aerospike/as_pair.h.

as_val * as_pair::_1

The first value of the pair.

Definition at line 56 of file modules/common/src/include/aerospike/as_pair.h.

as_val * as_pair::_2

The second value of the pair.

Definition at line 61 of file modules/common/src/include/aerospike/as_pair.h.


The documentation for this struct was generated from the following file: