summaryrefslogtreecommitdiff
path: root/TAO/tao/CORBA_String.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/CORBA_String.inl')
-rw-r--r--TAO/tao/CORBA_String.inl20
1 files changed, 14 insertions, 6 deletions
diff --git a/TAO/tao/CORBA_String.inl b/TAO/tao/CORBA_String.inl
index 79c40246dcd..4212f2cd565 100644
--- a/TAO/tao/CORBA_String.inl
+++ b/TAO/tao/CORBA_String.inl
@@ -72,6 +72,13 @@ CORBA::String_var::_retn (void)
return temp;
}
+/// TAO extension.
+ACE_INLINE char *
+CORBA::String_var::ptr (void)
+{
+ return this->ptr_;
+}
+
// ----------------------------------------------------
// String_out type
// ----------------------------------------------------
@@ -90,12 +97,6 @@ CORBA::String_out::String_out (CORBA::String_var &s)
}
ACE_INLINE
-CORBA::String_out::String_out (TAO_String_Manager &s)
- : ptr_ (s.out ())
-{
-}
-
-ACE_INLINE
CORBA::String_out::String_out (const CORBA::String_out &s)
: ptr_ (s.ptr_)
{
@@ -206,6 +207,13 @@ CORBA::WString_var::_retn (void)
return temp;
}
+/// TAO extension.
+ACE_INLINE CORBA::WChar *
+CORBA::WString_var::ptr (void)
+{
+ return this->ptr_;
+}
+
// ----------------------------------------------------
// String_out type
// ----------------------------------------------------