SCIP-SDP
2.1.0
|
Classes | |
struct | rebind |
Public Types | |
typedef T | value_type |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
Public Member Functions | |
BlockMemoryAllocator (SCIP *scip) | |
BlockMemoryAllocator (const BlockMemoryAllocator &other) | |
template<class U > | |
BlockMemoryAllocator (const BlockMemoryAllocator< U > &other) | |
~BlockMemoryAllocator () | |
pointer | address (reference x) const |
const_pointer | address (const_reference x) const |
pointer | allocate (size_type n, const_pointer=0) |
void | deallocate (pointer p, size_type n) |
size_type | max_size () const |
void | construct (pointer p, const value_type &x) |
void | destroy (pointer p) |
void | operator= (BlockMemoryAllocator const &b) |
Private Attributes | |
SCIP * | scip_ |
Friends | |
template<typename S > | |
bool | operator== (const BlockMemoryAllocator< S > &left, const BlockMemoryAllocator< S > &right) |
template<typename S > | |
bool | operator!= (const BlockMemoryAllocator< S > &left, const BlockMemoryAllocator< S > &right) |
direct implementation of the Allocator interface
Definition at line 45 of file BlockMemoryAllocator.h.
typedef T BlockMemoryAllocator< T >::value_type |
Definition at line 48 of file BlockMemoryAllocator.h.
typedef value_type* BlockMemoryAllocator< T >::pointer |
Definition at line 49 of file BlockMemoryAllocator.h.
typedef const value_type* BlockMemoryAllocator< T >::const_pointer |
Definition at line 50 of file BlockMemoryAllocator.h.
typedef value_type& BlockMemoryAllocator< T >::reference |
Definition at line 51 of file BlockMemoryAllocator.h.
typedef const value_type& BlockMemoryAllocator< T >::const_reference |
Definition at line 52 of file BlockMemoryAllocator.h.
typedef std::size_t BlockMemoryAllocator< T >::size_type |
Definition at line 53 of file BlockMemoryAllocator.h.
typedef std::ptrdiff_t BlockMemoryAllocator< T >::difference_type |
Definition at line 54 of file BlockMemoryAllocator.h.
|
inline |
Definition at line 59 of file BlockMemoryAllocator.h.
|
inline |
Definition at line 61 of file BlockMemoryAllocator.h.
|
inline |
Definition at line 63 of file BlockMemoryAllocator.h.
|
inline |
Definition at line 64 of file BlockMemoryAllocator.h.
References BlockMemoryAllocator< T >::scip_.
|
inline |
Definition at line 69 of file BlockMemoryAllocator.h.
|
inline |
Definition at line 71 of file BlockMemoryAllocator.h.
|
inline |
Definition at line 76 of file BlockMemoryAllocator.h.
References BlockMemoryAllocator< T >::scip_.
|
inline |
Definition at line 86 of file BlockMemoryAllocator.h.
References BlockMemoryAllocator< T >::scip_.
|
inline |
Definition at line 91 of file BlockMemoryAllocator.h.
|
inline |
Definition at line 95 of file BlockMemoryAllocator.h.
|
inline |
Definition at line 98 of file BlockMemoryAllocator.h.
|
inline |
Definition at line 103 of file BlockMemoryAllocator.h.
References BlockMemoryAllocator< T >::scip_.
|
friend |
|
friend |
|
private |
Definition at line 109 of file BlockMemoryAllocator.h.
Referenced by BlockMemoryAllocator< T >::allocate(), BlockMemoryAllocator< T >::deallocate(), BlockMemoryAllocator< T >::operator=(), operator==(), and BlockMemoryAllocator< T >::~BlockMemoryAllocator().