![]() |
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.
|
#include <PairArray.h>
Inheritance diagram for pdb::PairArray< KeyType, ValueType >:
Collaboration diagram for pdb::PairArray< KeyType, ValueType >:Public Member Functions | |
| PairArray () | |
| PairArray (uint32_t numSlots) | |
| PairArray (const PairArray ©FromMe) | |
| ~PairArray () | |
| void | setUpAndCopyFrom (void *target, void *source) const |
| void | deleteObject (void *deleteMe) |
| size_t | getSize (void *forMe) |
| Handle< PairArray< KeyType, ValueType > > | doubleArray () |
| ValueType & | operator[] (const KeyType &which) |
| bool | isOverFull () |
| uint32_t | numUsedSlots () |
| int | count (const KeyType &which) |
| void | setUnused (const KeyType &clearMe) |
| void | setDisableDestructor (bool disableOrNot) |
| bool | isDestructorDisabled () |
Public Member Functions inherited from pdb::Object | |
| void | setVTablePtr (void *setToMe) |
| void * | getVTablePtr () |
Private Attributes | |
| PDBTemplateBase | keyTypeInfo |
| PDBTemplateBase | valueTypeInfo |
| uint32_t | objSize |
| uint32_t | valueOffset |
| uint32_t | usedSlots |
| uint32_t | numSlots |
| uint32_t | maxSlots |
| Nothing | data [0] |
| bool | disableDestructor |
Friends | |
| template<class KeyTwo , class ValueTwo > | |
| class | PDBMapIterator |
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) |
Definition at line 36 of file PairArray.h.
| pdb::PairArray< KeyType, ValueType >::PairArray | ( | ) |
| pdb::PairArray< KeyType, ValueType >::PairArray | ( | uint32_t | numSlots | ) |
| pdb::PairArray< KeyType, ValueType >::PairArray | ( | const PairArray< KeyType, ValueType > & | copyFromMe | ) |
Definition at line 230 of file PairArray.cc.
| pdb::PairArray< KeyType, ValueType >::~PairArray | ( | ) |
Definition at line 461 of file PairArray.cc.
| int pdb::PairArray< KeyType, ValueType >::count | ( | const KeyType & | which | ) |
|
virtual |
Reimplemented from pdb::Object.
Definition at line 526 of file PairArray.cc.
Here is the call graph for this function:| Handle< PairArray< KeyType, ValueType > > pdb::PairArray< KeyType, ValueType >::doubleArray | ( | ) |
Definition at line 490 of file PairArray.cc.
|
virtual |
Reimplemented from pdb::Object.
Definition at line 531 of file PairArray.cc.
| bool pdb::PairArray< KeyType, ValueType >::isDestructorDisabled | ( | ) |
Definition at line 124 of file PairArray.cc.
| bool pdb::PairArray< KeyType, ValueType >::isOverFull | ( | ) |
Definition at line 430 of file PairArray.cc.
| uint32_t pdb::PairArray< KeyType, ValueType >::numUsedSlots | ( | ) |
Definition at line 521 of file PairArray.cc.
| ValueType & pdb::PairArray< KeyType, ValueType >::operator[] | ( | const KeyType & | which | ) |
| void pdb::PairArray< KeyType, ValueType >::setDisableDestructor | ( | bool | disableOrNot | ) |
| void pdb::PairArray< KeyType, ValueType >::setUnused | ( | const KeyType & | clearMe | ) |
|
virtual |
Reimplemented from pdb::Object.
Definition at line 131 of file PairArray.cc.
Here is the call graph for this function:
|
friend |
Definition at line 131 of file PairArray.h.
|
private |
Definition at line 106 of file PairArray.h.
|
private |
Definition at line 110 of file PairArray.h.
|
private |
Definition at line 87 of file PairArray.h.
|
private |
Definition at line 103 of file PairArray.h.
|
private |
Definition at line 100 of file PairArray.h.
|
private |
Definition at line 91 of file PairArray.h.
|
private |
Definition at line 97 of file PairArray.h.
|
private |
Definition at line 94 of file PairArray.h.
|
private |
Definition at line 88 of file PairArray.h.