8 #ifndef OPENDDS_DCPS_DURABILITYARRAY_H 9 #define OPENDDS_DCPS_DURABILITYARRAY_H 47 T
const & default_value,
55 for (
size_t i = 0; i < this->
size_; ++i)
void swap(MessageBlock &lhs, MessageBlock &rhs)
void set_allocator(ACE_Allocator *allocator)
Reset allocator.
DurabilityArray(size_t size, ACE_Allocator *allocator)
void operator=(DurabilityArray< T > const &rhs)
void swap(DurabilityArray< T > &rhs)
Array class that provides a means to reset the underlying ACE_Allocator.
static ACE_Allocator * instance(void)
size_type size(void) const
ACE_Allocator * allocator_
DurabilityArray(DurabilityArray< T > const &rhs)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
DurabilityArray(size_t size, T const &default_value, ACE_Allocator *allocator)
The Internal API and Implementation of OpenDDS.