#include <String_Traits_T.h>
Public Types | |
typedef char_type * | value_type |
typedef char_type const * | const_value_type |
Static Public Member Functions | |
static void | zero_range (char_type **begin, char_type **end) |
static void | initialize_range (char_type **begin, char_type **end) |
template<typename iter > | |
static void | copy_range (char_type **begin, char_type **end, iter dst) |
template<typename iter > | |
static void | copy_swap_range (char_type **begin, char_type **end, iter dst) |
static void | release_range (char_type **begin, char_type **end) |
static char_type const * | initialize_if_zero (char_type *&element) |
Definition at line 27 of file String_Traits_T.h.
typedef char_type const* TAO::details::string_traits_decorator< char_type, derived >::const_value_type |
Definition at line 30 of file String_Traits_T.h.
typedef char_type* TAO::details::string_traits_decorator< char_type, derived >::value_type |
Definition at line 29 of file String_Traits_T.h.
static void TAO::details::string_traits_decorator< char_type, derived >::copy_range | ( | char_type ** | begin, | |
char_type ** | end, | |||
iter | dst | |||
) | [inline, static] |
Definition at line 47 of file String_Traits_T.h.
{ std::transform(begin, end, dst, &derived::duplicate); }
static void TAO::details::string_traits_decorator< char_type, derived >::copy_swap_range | ( | char_type ** | begin, | |
char_type ** | end, | |||
iter | dst | |||
) | [inline, static] |
Definition at line 63 of file String_Traits_T.h.
{ std::swap_ranges(begin, end, dst); }
static char_type const* TAO::details::string_traits_decorator< char_type, derived >::initialize_if_zero | ( | char_type *& | element | ) | [inline, static] |
Definition at line 82 of file String_Traits_T.h.
{ if (element == 0) { element = derived::default_initializer(); } return element; }
static void TAO::details::string_traits_decorator< char_type, derived >::initialize_range | ( | char_type ** | begin, | |
char_type ** | end | |||
) | [inline, static] |
Definition at line 38 of file String_Traits_T.h.
{ std::generate(begin, end, &derived::default_initializer); }
static void TAO::details::string_traits_decorator< char_type, derived >::release_range | ( | char_type ** | begin, | |
char_type ** | end | |||
) | [inline, static] |
Definition at line 76 of file String_Traits_T.h.
{ std::for_each(begin, end, &derived::release); }
static void TAO::details::string_traits_decorator< char_type, derived >::zero_range | ( | char_type ** | begin, | |
char_type ** | end | |||
) | [inline, static] |
Definition at line 32 of file String_Traits_T.h.
{ ACE_OS::memset (begin, 0, (end - begin) * sizeof (char_type*)); }