#include <Array_Traits_T.h>
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_type * | alloc (void) |
| static slice_type * | dup (const slice_type *value) |
| static void | zero_range (value_type *begin, value_type *end) |
| static void | release_range (value_type *, value_type *) |
| 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) |
| template<typename iter > | |
| static void | copy_swap_range (value_type *begin, value_type *end, iter dst) |
Definition at line 25 of file Array_Traits_T.h.
| 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.
| typedef T_forany TAO::details::array_traits< T_forany >::forany_type |
Definition at line 27 of file Array_Traits_T.h.
| typedef T_forany::_slice_type TAO::details::array_traits< T_forany >::slice_type |
Definition at line 30 of file Array_Traits_T.h.
| typedef T_forany::_array_type TAO::details::array_traits< T_forany >::value_type |
Definition at line 28 of file Array_Traits_T.h.
| static slice_type* TAO::details::array_traits< T_forany >::alloc | ( | void | ) | [inline, static] |
Definition at line 42 of file Array_Traits_T.h.
{
return TAO::Array_Traits<forany_type>::alloc ();
}
| 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.
{
TAO::Array_Traits<forany_type>::copy (_tao_to, _tao_from);
}
| static void TAO::details::array_traits< T_forany >::copy_range | ( | value_type * | begin, | |
| value_type * | end, | |||
| iter | dst | |||
| ) | [inline, static] |
Definition at line 76 of file Array_Traits_T.h.
{
for(value_type * i = begin; i != end; ++i, ++dst)
{
TAO::Array_Traits<forany_type>::copy(*dst, *i);
}
}
| static void TAO::details::array_traits< T_forany >::copy_swap_range | ( | value_type * | begin, | |
| value_type * | end, | |||
| iter | dst | |||
| ) | [inline, static] |
Definition at line 98 of file Array_Traits_T.h.
{
copy_range(begin, end, dst);
}
| 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.
{
return TAO::Array_Traits<forany_type>::dup (value);
}
| static void TAO::details::array_traits< T_forany >::free | ( | slice_type * | value | ) | [inline, static] |
Definition at line 37 of file Array_Traits_T.h.
{
TAO::Array_Traits<forany_type>::free (value);
}
| static void TAO::details::array_traits< T_forany >::initialize_range | ( | value_type * | begin, | |
| value_type * | end | |||
| ) | [inline, static] |
Definition at line 66 of file Array_Traits_T.h.
{
std::for_each(
begin, end, &TAO::Array_Traits<forany_type>::zero);
}
| static void TAO::details::array_traits< T_forany >::release_range | ( | value_type * | , | |
| value_type * | ||||
| ) | [inline, static] |
Definition at line 60 of file Array_Traits_T.h.
{
// Noop for array sequences
}
| 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.
{
std::for_each(
begin, end, &TAO::Array_Traits<forany_type>::zero);
}
1.7.0