PPL Logo

Boomarray< T > Class Template Reference

#include <BoomArray.h>

Inheritance diagram for Boomarray< T >:

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

Collaboration graph
[legend]

Public Member Functions

 Boomarray (int count_, T *src_)
 Boomarray ()
 ~Boomarray ()
double & operator[] (int index)
void pup (PUP::er &p)
int size ()

Private Attributes

int count
T * ptr
int srcnode
T * srcptr

Detailed Description

template<typename T>
class Boomarray< T >

Definition at line 9 of file BoomArray.h.


Constructor & Destructor Documentation

template<typename T>
Boomarray< T >::Boomarray ( int  count_,
T *  src_ 
) [inline]

Definition at line 16 of file BoomArray.h.

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

Definition at line 23 of file BoomArray.h.

template<typename T>
Boomarray< T >::~Boomarray (  )  [inline]

Definition at line 28 of file BoomArray.h.

References free(), Boomarray< T >::ptr, and Boomarray< T >::srcptr.

Here is the call graph for this function:


Member Function Documentation

template<typename T>
double& Boomarray< T >::operator[] ( int  index  )  [inline]

Definition at line 31 of file BoomArray.h.

References Boomarray< T >::ptr.

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

template<typename T>
int Boomarray< T >::size ( void   )  [inline]

Definition at line 50 of file BoomArray.h.

References Boomarray< T >::count.


Field Documentation

template<typename T>
int Boomarray< T >::count [private]

Definition at line 54 of file BoomArray.h.

Referenced by Boomarray< T >::pup(), and Boomarray< T >::size().

template<typename T>
T* Boomarray< T >::ptr [private]

template<typename T>
int Boomarray< T >::srcnode [private]

Definition at line 59 of file BoomArray.h.

Referenced by Boomarray< T >::pup().

template<typename T>
T* Boomarray< T >::srcptr [private]

Definition at line 61 of file BoomArray.h.

Referenced by Boomarray< T >::pup(), and Boomarray< T >::~Boomarray().


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

Generated on Mon Sep 21 08:17:56 2020 for Charm++ by  doxygen 1.5.5