EpetraExt  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EpetraExt::Directory< KT, DT, DH, AC, MG > Class Template Reference

Distributed Directory Tool. More...

#include <EpetraExt_Directory.h>

Public Types

typedef std::map< KT,
Teuchos::RCP< DT > > 
DataMap
 
typedef DataMap::iterator DataMapIter
 
typedef DataMap::const_iterator DataMapCIter
 
typedef std::multimap< KT,
Teuchos::RCP< DT > > 
DataRecvMap
 
typedef DataRecvMap::iterator DataRecvMapIter
 
typedef DataRecvMap::const_iterator DataRecvMapCIter
 
typedef std::vector< KT > KeyList
 
typedef KeyList::iterator KeyListIter
 
typedef KeyList::const_iterator KeyListCIter
 
typedef std::vector< int > ProcList
 
typedef ProcList::iterator ProcListIter
 
typedef std::pair< int, KT > ProcKeyPair
 
typedef std::vector< ProcKeyPairProcKeyList
 
typedef ProcKeyList::iterator ProcKeyListIter
 
typedef AC::iterator ContainerIter
 
typedef AC::const_iterator ContainerCIter
 

Public Member Functions

 Directory (MG migrate, DH distHash)
 
 ~Directory ()
 
void addEntries (DataMap const &entries)
 
void deleteEntries (KeyList &keys)
 
void getEntries (KeyList &keys, DataMap &entries)
 
AC & container ()
 
ContainerIterbegin ()
 
ContainerIterend ()
 

Protected Member Functions

void pushKeys_ (KeyList &, KeyList &, ProcList &)
 
void pushData_ (DataMap const &, DataRecvMap &, ProcList &)
 

Protected Attributes

MG migrate_
 
DH distHash_
 
AC container_
 

Detailed Description

template<typename KT, typename DT, class DH, class AC, class MG>
class EpetraExt::Directory< KT, DT, DH, AC, MG >

Distributed Directory Tool.

Definition at line 67 of file EpetraExt_Directory.h.

Member Typedef Documentation

template<typename KT , typename DT , class DH , class AC , class MG >
typedef std::map< KT, Teuchos::RCP<DT> > EpetraExt::Directory< KT, DT, DH, AC, MG >::DataMap

Definition at line 72 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef DataMap::iterator EpetraExt::Directory< KT, DT, DH, AC, MG >::DataMapIter

Definition at line 73 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef DataMap::const_iterator EpetraExt::Directory< KT, DT, DH, AC, MG >::DataMapCIter

Definition at line 74 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef std::multimap< KT, Teuchos::RCP<DT> > EpetraExt::Directory< KT, DT, DH, AC, MG >::DataRecvMap

Definition at line 76 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef DataRecvMap::iterator EpetraExt::Directory< KT, DT, DH, AC, MG >::DataRecvMapIter

Definition at line 77 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef DataRecvMap::const_iterator EpetraExt::Directory< KT, DT, DH, AC, MG >::DataRecvMapCIter

Definition at line 78 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef std::vector<KT> EpetraExt::Directory< KT, DT, DH, AC, MG >::KeyList

Definition at line 80 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef KeyList::iterator EpetraExt::Directory< KT, DT, DH, AC, MG >::KeyListIter

Definition at line 81 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef KeyList::const_iterator EpetraExt::Directory< KT, DT, DH, AC, MG >::KeyListCIter

Definition at line 82 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef std::vector<int> EpetraExt::Directory< KT, DT, DH, AC, MG >::ProcList

Definition at line 84 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef ProcList::iterator EpetraExt::Directory< KT, DT, DH, AC, MG >::ProcListIter

Definition at line 85 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef std::pair<int,KT> EpetraExt::Directory< KT, DT, DH, AC, MG >::ProcKeyPair

Definition at line 87 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef std::vector<ProcKeyPair> EpetraExt::Directory< KT, DT, DH, AC, MG >::ProcKeyList

Definition at line 88 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef ProcKeyList::iterator EpetraExt::Directory< KT, DT, DH, AC, MG >::ProcKeyListIter

Definition at line 89 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef AC::iterator EpetraExt::Directory< KT, DT, DH, AC, MG >::ContainerIter

Definition at line 91 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
typedef AC::const_iterator EpetraExt::Directory< KT, DT, DH, AC, MG >::ContainerCIter

Definition at line 92 of file EpetraExt_Directory.h.

Constructor & Destructor Documentation

template<typename KT , typename DT , class DH , class AC , class MG >
EpetraExt::Directory< KT, DT, DH, AC, MG >::Directory ( MG  migrate,
DH  distHash 
)
inline

Definition at line 95 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
EpetraExt::Directory< KT, DT, DH, AC, MG >::~Directory ( )
inline

Definition at line 102 of file EpetraExt_Directory.h.

Member Function Documentation

template<typename KT , typename DT , class DH , class AC , class MG >
void EpetraExt::Directory< KT, DT, DH, AC, MG >::addEntries ( DataMap const &  entries)

Definition at line 226 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
void EpetraExt::Directory< KT, DT, DH, AC, MG >::deleteEntries ( KeyList keys)

Definition at line 251 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
void EpetraExt::Directory< KT, DT, DH, AC, MG >::getEntries ( KeyList keys,
DataMap entries 
)

Definition at line 276 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
AC& EpetraExt::Directory< KT, DT, DH, AC, MG >::container ( )
inline

Definition at line 125 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
ContainerIter& EpetraExt::Directory< KT, DT, DH, AC, MG >::begin ( )
inline

Definition at line 126 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
ContainerIter& EpetraExt::Directory< KT, DT, DH, AC, MG >::end ( )
inline

Definition at line 127 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
void EpetraExt::Directory< KT, DT, DH, AC, MG >::pushKeys_ ( KeyList sKeys,
KeyList rKeys,
ProcList procs 
)
protected

Definition at line 321 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
void EpetraExt::Directory< KT, DT, DH, AC, MG >::pushData_ ( DataMap const &  sData,
DataRecvMap rData,
ProcList procs 
)
protected

Definition at line 340 of file EpetraExt_Directory.h.

Member Data Documentation

template<typename KT , typename DT , class DH , class AC , class MG >
MG EpetraExt::Directory< KT, DT, DH, AC, MG >::migrate_
protected

Definition at line 136 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
DH EpetraExt::Directory< KT, DT, DH, AC, MG >::distHash_
protected

Definition at line 137 of file EpetraExt_Directory.h.

template<typename KT , typename DT , class DH , class AC , class MG >
AC EpetraExt::Directory< KT, DT, DH, AC, MG >::container_
protected

Definition at line 138 of file EpetraExt_Directory.h.


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