PPL Logo

StridedSequence< T > Class Template Reference

#include <strided_sequence.h>

Inheritance diagram for StridedSequence< T >:

Inheritance graph
[legend]
Collaboration diagram for StridedSequence< T >:

Collaboration graph
[legend]

Public Member Functions

 StridedSequence ()
 StridedSequence (T start_element, T stride, int end_element)
void Insert (const T &element)
void Remove (const T &element)
int num_elements () const
min () const
max () const
stride () const
Type type () const
int mem_size () const
CkSequenceIteratorInternal< T > * begin ()
CkSequenceIteratorInternal< T > * end ()
void pup (PUP::er &p)

Private Attributes

start_element_
stride_
last_element_

Detailed Description

template<typename T>
class StridedSequence< T >

Definition at line 58 of file strided_sequence.h.


Constructor & Destructor Documentation

template<typename T>
StridedSequence< T >::StridedSequence (  )  [inline]

Definition at line 60 of file strided_sequence.h.

template<typename T>
StridedSequence< T >::StridedSequence ( start_element,
stride,
int  end_element 
) [inline]

Definition at line 63 of file strided_sequence.h.


Member Function Documentation

template<class T>
void StridedSequence< T >::Insert ( const T &  element  )  [inline, virtual]

Implements CkSequenceInternal< T >.

Definition at line 114 of file strided_sequence.h.

template<class T>
void StridedSequence< T >::Remove ( const T &  element  )  [inline, virtual]

Implements CkSequenceInternal< T >.

Definition at line 118 of file strided_sequence.h.

template<class T>
int StridedSequence< T >::num_elements (  )  const [inline, virtual]

template<typename T>
T StridedSequence< T >::min (  )  const [inline, virtual]

Implements CkSequenceInternal< T >.

Definition at line 75 of file strided_sequence.h.

References StridedSequence< T >::start_element_.

template<typename T>
T StridedSequence< T >::max ( void   )  const [inline, virtual]

Implements CkSequenceInternal< T >.

Definition at line 79 of file strided_sequence.h.

References StridedSequence< T >::last_element_.

template<typename T>
T StridedSequence< T >::stride (  )  const [inline]

Definition at line 83 of file strided_sequence.h.

References StridedSequence< T >::stride_.

template<typename T>
Type StridedSequence< T >::type (  )  const [inline, virtual]

Implements CkSequenceInternal< T >.

Definition at line 87 of file strided_sequence.h.

References STRIDE.

template<class T>
int StridedSequence< T >::mem_size (  )  const [inline, virtual]

Implements CkSequenceInternal< T >.

Definition at line 127 of file strided_sequence.h.

template<typename T>
CkSequenceIteratorInternal<T>* StridedSequence< T >::begin ( void   )  [inline, virtual]

template<typename T>
CkSequenceIteratorInternal<T>* StridedSequence< T >::end ( void   )  [inline, virtual]

template<typename T>
void StridedSequence< T >::pup ( PUP::er p  )  [inline, virtual]


Field Documentation

template<typename T>
T StridedSequence< T >::start_element_ [private]

template<typename T>
T StridedSequence< T >::stride_ [private]

template<typename T>
T StridedSequence< T >::last_element_ [private]


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

Generated on Mon Sep 21 08:30:16 2020 for Charm++ by  doxygen 1.5.5