TAO::details::bounded_value_allocation_traits< T, MAX, dummy > Struct Template Reference

#include <Bounded_Value_Allocation_Traits_T.h>

List of all members.

Public Types

typedef T value_type

Static Public Member Functions

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

template<typename T, CORBA::ULong MAX, bool dummy>
struct TAO::details::bounded_value_allocation_traits< T, MAX, dummy >


Member Typedef Documentation

template<typename T, CORBA::ULong MAX, bool dummy>
typedef T TAO::details::bounded_value_allocation_traits< T, MAX, dummy >::value_type
 

Definition at line 26 of file Bounded_Value_Allocation_Traits_T.h.


Member Function Documentation

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

Definition at line 38 of file Bounded_Value_Allocation_Traits_T.h.

Referenced by TAO::details::bounded_value_allocation_traits< T, MAX, dummy >::default_buffer_allocation().

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

template<typename T, CORBA::ULong MAX, bool dummy>
value_type* TAO::details::bounded_value_allocation_traits< T, MAX, dummy >::default_buffer_allocation  )  [inline, static]
 

Definition at line 33 of file Bounded_Value_Allocation_Traits_T.h.

References TAO::details::bounded_value_allocation_traits< T, MAX, dummy >::allocbuf().

00034   {
00035     return allocbuf(MAX);
00036   }

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

Definition at line 28 of file Bounded_Value_Allocation_Traits_T.h.

00029   {
00030     return MAX;
00031   }

template<typename T, CORBA::ULong MAX, bool dummy>
void TAO::details::bounded_value_allocation_traits< T, MAX, dummy >::freebuf value_type buffer  )  [inline, static]
 

Definition at line 43 of file Bounded_Value_Allocation_Traits_T.h.

00044   {
00045     delete[] buffer;
00046   }

template<typename T, CORBA::ULong MAX, bool dummy>
CORBA::ULong TAO::details::bounded_value_allocation_traits< T, MAX, dummy >::maximum  )  [inline, static]
 

Definition at line 48 of file Bounded_Value_Allocation_Traits_T.h.

00049   {
00050     return MAX;
00051   }


The documentation for this struct was generated from the following file:
Generated on Thu Nov 9 12:27:37 2006 for TAO by doxygen 1.3.6