TAO::details::unbounded_array_allocation_traits< T, dummy > Struct Template Reference

#include <Unbounded_Array_Allocation_Traits_T.h>

List of all members.

Public Types

typedef T value_type

Static Public Member Functions

static CORBA::ULong default_maximum ()
static value_typedefault_buffer_allocation ()
static value_typeallocbuf (CORBA::ULong maximum)
static void freebuf (value_type *buffer)


Detailed Description

template<typename T, bool dummy>
struct TAO::details::unbounded_array_allocation_traits< T, dummy >

Definition at line 24 of file Unbounded_Array_Allocation_Traits_T.h.


Member Typedef Documentation

template<typename T, bool dummy>
typedef T TAO::details::unbounded_array_allocation_traits< T, dummy >::value_type

Definition at line 26 of file Unbounded_Array_Allocation_Traits_T.h.


Member Function Documentation

template<typename T, bool dummy>
static value_type* TAO::details::unbounded_array_allocation_traits< T, dummy >::allocbuf ( CORBA::ULong  maximum  )  [inline, static]

Definition at line 38 of file Unbounded_Array_Allocation_Traits_T.h.

00039   {
00040     return new value_type[maximum];
00041   }

template<typename T, bool dummy>
static value_type* TAO::details::unbounded_array_allocation_traits< T, dummy >::default_buffer_allocation (  )  [inline, static]

Definition at line 33 of file Unbounded_Array_Allocation_Traits_T.h.

00034   {
00035     return 0;
00036   }

template<typename T, bool dummy>
static CORBA::ULong TAO::details::unbounded_array_allocation_traits< T, dummy >::default_maximum (  )  [inline, static]

Definition at line 28 of file Unbounded_Array_Allocation_Traits_T.h.

00029   {
00030     return 0;
00031   }

template<typename T, bool dummy>
static void TAO::details::unbounded_array_allocation_traits< T, dummy >::freebuf ( value_type buffer  )  [inline, static]

Definition at line 43 of file Unbounded_Array_Allocation_Traits_T.h.

00044   {
00045     delete[] buffer;
00046   }


The documentation for this struct was generated from the following file:
Generated on Tue Feb 2 17:39:59 2010 for TAO by  doxygen 1.4.7