ESyS-Particle  2.3
DSlice Class Reference

#include <dslice.h>

Public Member Functions

 DSlice (int st, int l1, int s1, int l2, int s2)
 
unsigned int size () const
 
int operator[] (int idx) const
 

Private Attributes

int m_start
 
int m_length1
 
int m_length2
 
int m_stride1
 
int m_stride2
 

Friends

bool operator== (const DSlice &, const DSlice &)
 
bool operator!= (const DSlice &, const DSlice &)
 
ostream & operator<< (ostream &, const DSlice &)
 

Constructor & Destructor Documentation

DSlice::DSlice ( int  st,
int  l1,
int  s1,
int  l2,
int  s2 
)
inline

Member Function Documentation

int DSlice::operator[] ( int  idx) const
inline

References m_length1, and m_stride2.

unsigned int DSlice::size ( ) const
inline

References m_length2.

Referenced by NTSlab< T >::slab_size().

Here is the caller graph for this function:

Friends And Related Function Documentation

bool operator!= ( const DSlice s1,
const DSlice s2 
)
friend
ostream& operator<< ( ostream &  ost,
const DSlice s 
)
friend
bool operator== ( const DSlice s1,
const DSlice s2 
)
friend

Member Data Documentation

int DSlice::m_length1
private
int DSlice::m_length2
private
int DSlice::m_start
private

Referenced by operator!=(), operator<<(), and operator==().

int DSlice::m_stride1
private

Referenced by operator!=(), operator<<(), and operator==().

int DSlice::m_stride2
private

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