A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pdb::Map< KeyType, ValueType > Class Template Reference

#include <PDBMap.h>

+ Inheritance diagram for pdb::Map< KeyType, ValueType >:
+ Collaboration diagram for pdb::Map< KeyType, ValueType >:

Public Member Functions

ENABLE_DEEP_COPY Map (uint32_t initSize)
 
 Map ()
 
 ~Map ()
 
ValueType & operator[] (const KeyType &which)
 
void setUnused (const KeyType &clearMe)
 
size_t size () const
 
int count (const KeyType &which)
 
PDBMapIterator< KeyType,
ValueType > 
begin ()
 
PDBMapIterator< KeyType,
ValueType > 
end ()
 
Handle< PairArray< KeyType,
ValueType > > & 
getArray ()
 
- Public Member Functions inherited from pdb::Object
void setVTablePtr (void *setToMe)
 
void * getVTablePtr ()
 
virtual void setUpAndCopyFrom (void *target, void *source) const
 
virtual void deleteObject (void *deleteMe)
 
virtual size_t getSize (void *ofMe)
 

Protected Attributes

Handle< PairArray< KeyType,
ValueType > > 
myArray
 

Additional Inherited Members

- Static Public Member Functions inherited from pdb::Object
static void * operator new (size_t sz, const std::nothrow_t &tag)
 
static void * operator new (size_t sz)
 
static void operator delete (void *me)
 
static void * operator new (std::size_t count, void *ptr)
 

Detailed Description

template<class KeyType, class ValueType = Nothing>
class pdb::Map< KeyType, ValueType >

Definition at line 33 of file PDBMap.h.

Constructor & Destructor Documentation

template<class KeyType , class ValueType >
pdb::Map< KeyType, ValueType >::Map ( uint32_t  initSize)

Definition at line 78 of file PDBMap.cc.

+ Here is the call graph for this function:

template<class KeyType , class ValueType >
pdb::Map< KeyType, ValueType >::Map ( )

Definition at line 94 of file PDBMap.cc.

+ Here is the call graph for this function:

template<class KeyType , class ValueType >
pdb::Map< KeyType, ValueType >::~Map ( )

Definition at line 102 of file PDBMap.cc.

Member Function Documentation

template<class KeyType , class ValueType >
PDBMapIterator< KeyType, ValueType > pdb::Map< KeyType, ValueType >::begin ( )

Definition at line 139 of file PDBMap.cc.

template<class KeyType, class ValueType >
int pdb::Map< KeyType, ValueType >::count ( const KeyType &  which)

Definition at line 129 of file PDBMap.cc.

+ Here is the caller graph for this function:

template<class KeyType , class ValueType >
PDBMapIterator< KeyType, ValueType > pdb::Map< KeyType, ValueType >::end ( )

Definition at line 145 of file PDBMap.cc.

template<class KeyType , class ValueType >
Handle< PairArray< KeyType, ValueType > > & pdb::Map< KeyType, ValueType >::getArray ( )

Definition at line 152 of file PDBMap.cc.

template<class KeyType, class ValueType >
ValueType & pdb::Map< KeyType, ValueType >::operator[] ( const KeyType &  which)

Definition at line 112 of file PDBMap.cc.

template<class KeyType, class ValueType >
void pdb::Map< KeyType, ValueType >::setUnused ( const KeyType &  clearMe)

Definition at line 106 of file PDBMap.cc.

+ Here is the caller graph for this function:

template<class KeyType , class ValueType >
size_t pdb::Map< KeyType, ValueType >::size ( ) const

Definition at line 134 of file PDBMap.cc.

Member Data Documentation

template<class KeyType, class ValueType = Nothing>
Handle<PairArray<KeyType, ValueType> > pdb::Map< KeyType, ValueType >::myArray
protected

Definition at line 37 of file PDBMap.h.


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