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
Allocator.h File Reference
#include <cstddef>
#include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
#include <cstring>
#include <unordered_map>
#include "Allocator.cc"
+ Include dependency graph for Allocator.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pdb::InactiveAllocationBlock
 
struct  pdb::AllocatorState
 
class  pdb::DummyPolicy
 
class  pdb::DefaultPolicy
 
class  pdb::NoReusePolicy
 
class  pdb::NoReferenceCountPolicy
 
class  pdb::PolicyList< FirstPolicy, OtherPolicies >
 
class  pdb::PolicyList< FirstPolicy, OtherPolicies >
 
class  pdb::NotEnoughSpace
 
class  pdb::Handle< ObjType >
 
class  pdb::MultiPolicyAllocator< FirstPolicy, OtherPolicies >
 

Namespaces

 pdb
 

Macros

#define CHAR_PTR(c)   ((char*)c)
 

Typedefs

typedef MultiPolicyAllocator
< DefaultPolicy, NoReusePolicy,
NoReferenceCountPolicy > 
pdb::Allocator
 

Enumerations

enum  pdb::AllocatorPolicy { pdb::defaultAllocator, pdb::noReuseAllocator, pdb::noReferenceCountAllocator }
 

Functions

template<typename... OtherPolicies>
PolicyList< OtherPolicies...>::type pdb::first ()
 
template<typename... OtherPolicies>
std::enable_if< sizeof...(OtherPolicies)==0,
DummyPolicy >::type 
pdb::first ()
 
Allocator & pdb::getAllocator ()
 

Variables

NotEnoughSpace pdb::myException
 

Macro Definition Documentation

#define CHAR_PTR (   c)    ((char*)c)

Definition at line 38 of file Allocator.h.