IBM SYSTEMG G RUNTIME & NATIVE STORE  0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
 All Classes Functions Variables Typedefs Pages
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
ibmppl::d_twod_array< T > Class Template Reference

#include <distributed_2d_array.h>

Public Types

typedef twod_reference
< this_type, T > 
reference_type
 

Public Member Functions

 d_twod_array (size_t n)
 
void set_element (size_t idx, const T &sha)
 
T & get_element (size_t idx)
 
reference_type operator[] (size_t idx)
 

Private Types

typedef d_twod_array< T > this_type
 

Private Attributes

d_array< size_t > _nested
 

Detailed Description

template<class T>
class ibmppl::d_twod_array< T >

Two dimensional array. It is actually an array of shared arrays;It is constructued with a specified number of rows; Each row can have an arbitrary size;

Constructor & Destructor Documentation

template<class T >
ibmppl::d_twod_array< T >::d_twod_array ( size_t  n)
inline

Allocate space for


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