TAO::details::array_traits< T_forany > Struct Template Reference

#include <Array_Traits_T.h>

List of all members.

Public Types

typedef T_forany forany_type
typedef T_forany::_array_type value_type
typedef T_forany::_array_type
const 
const_value_type
typedef T_forany::_slice_type slice_type

Static Public Member Functions

static void copy (slice_type *_tao_to, const slice_type *_tao_from)
static void free (slice_type *value)
static slice_typealloc (void)
static slice_typedup (const slice_type *value)
static void zero_range (value_type *begin, value_type *end)
static void initialize_range (value_type *begin, value_type *end)
template<typename iter>
static void copy_range (value_type *begin, value_type *end, iter dst)


Detailed Description

template<typename T_forany>
struct TAO::details::array_traits< T_forany >

Definition at line 25 of file Array_Traits_T.h.


Member Typedef Documentation

template<typename T_forany>
typedef T_forany::_array_type const TAO::details::array_traits< T_forany >::const_value_type

Definition at line 29 of file Array_Traits_T.h.

template<typename T_forany>
typedef T_forany TAO::details::array_traits< T_forany >::forany_type

Definition at line 27 of file Array_Traits_T.h.

template<typename T_forany>
typedef T_forany::_slice_type TAO::details::array_traits< T_forany >::slice_type

Definition at line 30 of file Array_Traits_T.h.

template<typename T_forany>
typedef T_forany::_array_type TAO::details::array_traits< T_forany >::value_type

Definition at line 28 of file Array_Traits_T.h.


Member Function Documentation

template<typename T_forany>
static slice_type* TAO::details::array_traits< T_forany >::alloc ( void   )  [inline, static]

Definition at line 42 of file Array_Traits_T.h.

00043   {
00044     return TAO::Array_Traits<forany_type>::alloc ();
00045   }

template<typename T_forany>
static void TAO::details::array_traits< T_forany >::copy ( slice_type _tao_to,
const slice_type _tao_from 
) [inline, static]

Definition at line 32 of file Array_Traits_T.h.

00033   {
00034     TAO::Array_Traits<forany_type>::copy (_tao_to, _tao_from);
00035   }

template<typename T_forany>
template<typename iter>
static void TAO::details::array_traits< T_forany >::copy_range ( value_type begin,
value_type end,
iter  dst 
) [inline, static]

Definition at line 69 of file Array_Traits_T.h.

00071   {
00072     for(value_type * i = begin; i != end; ++i, ++dst)
00073     {
00074       TAO::Array_Traits<forany_type>::copy(*dst, *i);
00075     }
00076   }

template<typename T_forany>
static slice_type* TAO::details::array_traits< T_forany >::dup ( const slice_type value  )  [inline, static]

Definition at line 47 of file Array_Traits_T.h.

References dup().

00049   {
00050     return TAO::Array_Traits<forany_type>::dup (value);
00051   }

template<typename T_forany>
static void TAO::details::array_traits< T_forany >::free ( slice_type value  )  [inline, static]

Definition at line 37 of file Array_Traits_T.h.

References free().

00038   {
00039     TAO::Array_Traits<forany_type>::free (value);
00040   }

template<typename T_forany>
static void TAO::details::array_traits< T_forany >::initialize_range ( value_type begin,
value_type end 
) [inline, static]

Definition at line 60 of file Array_Traits_T.h.

00062   {
00063     std::for_each(
00064         begin, end, &TAO::Array_Traits<forany_type>::zero);
00065   }

template<typename T_forany>
static void TAO::details::array_traits< T_forany >::zero_range ( value_type begin,
value_type end 
) [inline, static]

Definition at line 53 of file Array_Traits_T.h.

00055   {
00056     std::for_each(
00057         begin, end, &TAO::Array_Traits<forany_type>::zero);
00058   }


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