#include <SafetyProfileSequence.h>
Public Member Functions | |
seq_size_type | maximum () const |
seq_size_type | max_size () const |
void | replace (seq_size_type length, T *data, seq_flag_type release=false) |
Static Public Member Functions | |
static T * | allocbuf () |
Protected Member Functions | |
AllocPolicy (seq_size_type=N) | |
T * | allocate (seq_size_type=N) const |
void | swap (AllocPolicy &) throw () |
Definition at line 53 of file SafetyProfileSequence.h.
OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::AllocPolicy | ( | seq_size_type | = N |
) | [inline, explicit, protected] |
T* OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::allocate | ( | seq_size_type | = N |
) | const [inline, protected] |
T * OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::allocbuf | ( | ) | [inline, static] |
Definition at line 333 of file SafetyProfileSequence.h.
00334 { 00335 void* const raw = 00336 ACE_Allocator::instance()->malloc(N * sizeof(T)); 00337 T* const mem = static_cast<T*>(raw); 00338 Sequence::ElementPolicy::construct(mem, N, false); 00339 return mem; 00340 }
seq_size_type OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::max_size | ( | ) | const [inline] |
seq_size_type OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::maximum | ( | ) | const [inline] |
void OpenDDS::SafetyProfile::AllocPolicy< T, Sequence, Bounded< N > >::replace | ( | seq_size_type | length, | |
T * | data, | |||
seq_flag_type | release = false | |||
) | [inline] |