XT-neighbor
Public Member Functions | List of all members
D2Stream< T > Class Template Reference

A 2 dimensional stream where the data is written in row direction and read in column direction. More...

Public Member Functions

 D2Stream ()
 
void write (T *newData, int n)
 
void set_offsets (int **offsets, int n, int offset_len)
 
Chunk< T > read ()
 
void deconstruct ()
 
size_t get_total_len ()
 

Detailed Description

template<typename T>
class D2Stream< T >

A 2 dimensional stream where the data is written in row direction and read in column direction.

Constructor & Destructor Documentation

◆ D2Stream()

template<typename T >
D2Stream< T >::D2Stream ( )
inline

Member Function Documentation

◆ deconstruct()

template<typename T >
void D2Stream< T >::deconstruct ( )
inline

◆ get_total_len()

template<typename T >
size_t D2Stream< T >::get_total_len ( )
inline

◆ read()

template<typename T >
Chunk<T> D2Stream< T >::read ( )
inline

◆ set_offsets()

template<typename T >
void D2Stream< T >::set_offsets ( int **  offsets,
int  n,
int  offset_len 
)
inline

◆ write()

template<typename T >
void D2Stream< T >::write ( T *  newData,
int  n 
)
inline

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