#include <String_Traits_Base_T.h>
Public Types | |
typedef CORBA::WChar | char_type |
typedef TAO::String_var< char_type > | string_var |
typedef TAO::String_out< char_type > | string_out |
typedef TAO::String_Manager_T< char_type > | string_mgr |
typedef ACE_InputCDR::to_wstring | to_type |
typedef ACE_OutputCDR::from_wstring | from_type |
Static Public Member Functions | |
static char_type * | default_initializer () |
static char_type * | duplicate (char_type const *s) |
static void | release (char_type *s) |
static char_type * | allocate (CORBA::ULong len) |
Definition at line 70 of file String_Traits_Base_T.h.
Definition at line 72 of file String_Traits_Base_T.h.
Definition at line 77 of file String_Traits_Base_T.h.
typedef TAO::String_Manager_T<char_type> TAO::details::string_traits_base< CORBA::WChar >::string_mgr |
Definition at line 75 of file String_Traits_Base_T.h.
Definition at line 74 of file String_Traits_Base_T.h.
Definition at line 73 of file String_Traits_Base_T.h.
Definition at line 76 of file String_Traits_Base_T.h.
static char_type* TAO::details::string_traits_base< CORBA::WChar >::allocate | ( | CORBA::ULong | len | ) | [inline, static] |
Definition at line 101 of file String_Traits_Base_T.h.
References CORBA::wstring_alloc().
00102 { 00103 return CORBA::wstring_alloc (len); 00104 }
static char_type* TAO::details::string_traits_base< CORBA::WChar >::default_initializer | ( | ) | [inline, static] |
Definition at line 79 of file String_Traits_Base_T.h.
References CORBA::wstring_dup().
00080 { 00081 #if defined(ACE_HAS_WCHAR) || defined(ACE_HAS_XPG4_MULTIBYTE_CHAR) 00082 return CORBA::wstring_dup(L""); 00083 #else 00084 //#warning "platform not configured with native wchar_t support" 00085 // static CORBA::WChar empty[] = { 0 }; 00086 CORBA::WChar empty[] = { 0 }; 00087 return CORBA::wstring_dup(empty); 00088 #endif /* 0 */ 00089 }
static char_type* TAO::details::string_traits_base< CORBA::WChar >::duplicate | ( | char_type const * | s | ) | [inline, static] |
Definition at line 91 of file String_Traits_Base_T.h.
References CORBA::wstring_dup().
00092 { 00093 return CORBA::wstring_dup(s); 00094 }
static void TAO::details::string_traits_base< CORBA::WChar >::release | ( | char_type * | s | ) | [inline, static] |
Definition at line 96 of file String_Traits_Base_T.h.
References CORBA::wstring_free().
00097 { 00098 CORBA::wstring_free(s); 00099 }