Public Types | Static Public Member Functions

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

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 ()

Detailed Description

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

Definition at line 24 of file Bounded_Value_Allocation_Traits_T.h.


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>
static 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.

  {
    return new value_type[MAX];
  }

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

Definition at line 43 of file Bounded_Value_Allocation_Traits_T.h.

  {
    return new value_type[MAX];
  }

template<typename T , CORBA::ULong MAX, bool dummy>
static 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.

  {
    return 0;
  }

template<typename T , CORBA::ULong MAX, bool dummy>
static 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.

  {
    return MAX;
  }

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

Definition at line 48 of file Bounded_Value_Allocation_Traits_T.h.

  {
    delete[] buffer;
  }

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

Definition at line 53 of file Bounded_Value_Allocation_Traits_T.h.

  {
    return MAX;
  }


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines