PPL Logo

MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE > Class Template Reference

Holds the typed data for one MSA page. More...

#include <msa-DistPageMgr.h>

Collaboration diagram for MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >:

Collaboration graph
[legend]

Public Member Functions

 MSA_PageT ()
 MSA_PageT (ENTRY *d)
 MSA_PageT (ENTRY *d, unsigned int n_)
virtual ~MSA_PageT ()
virtual void pup (PUP::er &p)
virtual void merge (MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE > &otherPage)
ENTRY & operator[] (int i)
const ENTRY & operator[] (int i) const
ENTRY * getData ()

Private Attributes

unsigned int n
ENTRY * data
 The contents of this page: array of ENTRIES_PER_PAGE items.
MERGER m
 Merger object.
bool duplicate

Detailed Description

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
class MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >

Holds the typed data for one MSA page.

Implementation of puppedPage used by the templated code.

Definition at line 390 of file msa-DistPageMgr.h.


Constructor & Destructor Documentation

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::MSA_PageT (  )  [inline]

Definition at line 400 of file msa-DistPageMgr.h.

References data, and PUP::m.

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::MSA_PageT ( ENTRY *  d  )  [inline]

Definition at line 413 of file msa-DistPageMgr.h.

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::MSA_PageT ( ENTRY *  d,
unsigned int  n_ 
) [inline]

Definition at line 415 of file msa-DistPageMgr.h.

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
virtual MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::~MSA_PageT (  )  [inline, virtual]

Definition at line 417 of file msa-DistPageMgr.h.

References data.


Member Function Documentation

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
virtual void MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::pup ( PUP::er p  )  [inline, virtual]

Definition at line 423 of file msa-DistPageMgr.h.

References data, PUP::er::isUnpacking(), and n.

Here is the call graph for this function:

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
virtual void MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::merge ( MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE > &  otherPage  )  [inline, virtual]

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
ENTRY& MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::operator[] ( int  i  )  [inline]

Definition at line 453 of file msa-DistPageMgr.h.

References data.

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
const ENTRY& MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::operator[] ( int  i  )  const [inline]

Definition at line 454 of file msa-DistPageMgr.h.

References data.

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
ENTRY* MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::getData ( void   )  [inline]


Field Documentation

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
unsigned int MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::n [private]

Definition at line 391 of file msa-DistPageMgr.h.

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
ENTRY* MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::data [private]

The contents of this page: array of ENTRIES_PER_PAGE items.

Definition at line 393 of file msa-DistPageMgr.h.

Referenced by MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::merge().

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
MERGER MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::m [private]

Merger object.

Definition at line 395 of file msa-DistPageMgr.h.

template<class ENTRY, class MERGER = DefaultEntry<ENTRY>, unsigned int ENTRIES_PER_PAGE = MSA_DEFAULT_ENTRIES_PER_PAGE>
bool MSA_PageT< ENTRY, MERGER, ENTRIES_PER_PAGE >::duplicate [private]

Definition at line 396 of file msa-DistPageMgr.h.


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

Generated on Mon Sep 21 08:27:47 2020 for Charm++ by  doxygen 1.5.5