#include <Bounded_Valuetype_Allocation_Traits_T.h>
Public Types | |
typedef T | value_type |
typedef ref_traits | valuetype_traits |
Static Public Member Functions | |
static CORBA::ULong | default_maximum () |
static value_type * | default_buffer_allocation () |
static value_type * | allocbuf (CORBA::ULong) |
static value_type * | allocbuf_noinit (CORBA::ULong) |
static void | freebuf (value_type *buffer) |
static CORBA::ULong | maximum () |
Definition at line 24 of file Bounded_Valuetype_Allocation_Traits_T.h.
typedef T TAO::details::bounded_valuetype_allocation_traits< T, ref_traits, MAX, dummy >::value_type |
Definition at line 26 of file Bounded_Valuetype_Allocation_Traits_T.h.
typedef ref_traits TAO::details::bounded_valuetype_allocation_traits< T, ref_traits, MAX, dummy >::valuetype_traits |
Definition at line 27 of file Bounded_Valuetype_Allocation_Traits_T.h.
static value_type* TAO::details::bounded_valuetype_allocation_traits< T, ref_traits, MAX, dummy >::allocbuf | ( | CORBA::ULong | ) | [inline, static] |
Definition at line 39 of file Bounded_Valuetype_Allocation_Traits_T.h.
{ value_type * buffer = new value_type[MAX]; // no throw valuetype_traits::initialize_range(buffer, buffer + MAX); return buffer; }
static value_type* TAO::details::bounded_valuetype_allocation_traits< T, ref_traits, MAX, dummy >::allocbuf_noinit | ( | CORBA::ULong | ) | [inline, static] |
Definition at line 48 of file Bounded_Valuetype_Allocation_Traits_T.h.
{ value_type * buffer = new value_type[MAX]; // no throw valuetype_traits::zero_range(buffer, buffer + MAX); return buffer; }
static value_type* TAO::details::bounded_valuetype_allocation_traits< T, ref_traits, MAX, dummy >::default_buffer_allocation | ( | ) | [inline, static] |
Definition at line 34 of file Bounded_Valuetype_Allocation_Traits_T.h.
{
return 0;
}
static CORBA::ULong TAO::details::bounded_valuetype_allocation_traits< T, ref_traits, MAX, dummy >::default_maximum | ( | ) | [inline, static] |
Definition at line 29 of file Bounded_Valuetype_Allocation_Traits_T.h.
{
return MAX;
}
static void TAO::details::bounded_valuetype_allocation_traits< T, ref_traits, MAX, dummy >::freebuf | ( | value_type * | buffer | ) | [inline, static] |
Definition at line 57 of file Bounded_Valuetype_Allocation_Traits_T.h.
{
valuetype_traits::release_range(buffer, buffer + MAX);
delete[] buffer;
}
static CORBA::ULong TAO::details::bounded_valuetype_allocation_traits< T, ref_traits, MAX, dummy >::maximum | ( | ) | [inline, static] |
Definition at line 63 of file Bounded_Valuetype_Allocation_Traits_T.h.
{
return MAX;
}