summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-06-22 14:38:32 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-06-22 14:38:32 +0000
commitd8e7088e029ef1519d1c4a905c3d8bc766603258 (patch)
tree3e13273e3a367bb7f88e6dca579652505e02d1ad /TAO/tao
parent4382271e55499a54a10cd95a974722db9b9eb008 (diff)
downloadATCD-d8e7088e029ef1519d1c4a905c3d8bc766603258.tar.gz
ChangeLogTag: Thu Jun 22 07:14:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/PortableServer/BD_String_SArgument_T.cpp35
1 files changed, 22 insertions, 13 deletions
diff --git a/TAO/tao/PortableServer/BD_String_SArgument_T.cpp b/TAO/tao/PortableServer/BD_String_SArgument_T.cpp
index 9e759b89529..a9dfd9a273b 100644
--- a/TAO/tao/PortableServer/BD_String_SArgument_T.cpp
+++ b/TAO/tao/PortableServer/BD_String_SArgument_T.cpp
@@ -19,7 +19,8 @@ TAO::In_BD_String_SArgument_T<S_var,BOUND,Insert_Policy>::demarshal (
TAO_InputCDR & cdr
)
{
- return cdr >> S_var::s_traits::to_type (this->x_.out (), BOUND);
+ typedef typename S_var::s_traits::to_type to_type;
+ return cdr >> to_type (this->x_.out (), BOUND);
}
#if TAO_HAS_INTERCEPTORS == 1
@@ -31,9 +32,10 @@ void
TAO::In_BD_String_SArgument_T<S_var,BOUND,Insert_Policy>::interceptor_value (
CORBA::Any *any) const
{
- Insert_Policy<typename S_var::s_traits::from_type>::any_insert (
+ typedef typename S_var::s_traits::from_type from_type;
+ Insert_Policy<from_type>::any_insert (
any,
- S_var::s_traits::from_type (this->x_.in (), BOUND)
+ from_type (this->x_.in (), BOUND)
);
}
@@ -49,7 +51,8 @@ TAO::Inout_BD_String_SArgument_T<S_var,BOUND,Insert_Policy>::marshal (
TAO_OutputCDR & cdr
)
{
- return cdr << S_var::s_traits::from_type (this->x_.in (), BOUND);
+ typedef typename S_var::s_traits::from_type from_type;
+ return cdr << from_type (this->x_.in (), BOUND);
}
template<typename S_var,
@@ -60,7 +63,8 @@ TAO::Inout_BD_String_SArgument_T<S_var,BOUND,Insert_Policy>::demarshal (
TAO_InputCDR & cdr
)
{
- return cdr >> S_var::s_traits::to_type (this->x_.out (), BOUND);
+ typedef typename S_var::s_traits::to_type to_type;
+ return cdr >> to_type (this->x_.out (), BOUND);
}
#if TAO_HAS_INTERCEPTORS == 1
@@ -72,9 +76,10 @@ void
TAO::Inout_BD_String_SArgument_T<S_var,BOUND,Insert_Policy>::
interceptor_value (CORBA::Any *any) const
{
- Insert_Policy<typename S_var::s_traits::from_type>::any_insert (
+ typedef typename S_var::s_traits::from_type from_type;
+ Insert_Policy<from_type>::any_insert (
any,
- S_var::s_traits::from_type (this->x_.in (), BOUND)
+ from_type (this->x_.in (), BOUND)
);
}
@@ -90,7 +95,8 @@ TAO::Out_BD_String_SArgument_T<S_var,BOUND,Insert_Policy>::marshal (
TAO_OutputCDR &cdr
)
{
- return cdr << S_var::s_traits::from_type (this->x_.in (), BOUND);
+ typedef typename S_var::s_traits::from_type from_type;
+ return cdr << from_type (this->x_.in (), BOUND);
}
#if TAO_HAS_INTERCEPTORS == 1
@@ -102,9 +108,10 @@ void
TAO::Out_BD_String_SArgument_T<S_var,BOUND,Insert_Policy>::
interceptor_value (CORBA::Any *any) const
{
- Insert_Policy<typename S_var::s_traits::from_type>::any_insert (
+ typedef typename S_var::s_traits::from_type from_type;
+ Insert_Policy<from_type>::any_insert (
any,
- S_var::s_traits::from_type (this->x_.in (), BOUND)
+ from_type (this->x_.in (), BOUND)
);
}
@@ -120,7 +127,8 @@ TAO::Ret_BD_String_SArgument_T<S_var,BOUND,Insert_Policy>::marshal (
TAO_OutputCDR & cdr
)
{
- return cdr << S_var::s_traits::from_type (this->x_.in (), BOUND);
+ typedef typename S_var::s_traits::from_type from_type;
+ return cdr << from_type (this->x_.in (), BOUND);
}
#if TAO_HAS_INTERCEPTORS == 1
@@ -132,9 +140,10 @@ void
TAO::Ret_BD_String_SArgument_T<S_var,BOUND,Insert_Policy>::
interceptor_value (CORBA::Any *any) const
{
- Insert_Policy<typename S_var::s_traits::from_type>::any_insert (
+ typedef typename S_var::s_traits::from_type from_type;
+ Insert_Policy<from_type>::any_insert (
any,
- S_var::s_traits::from_type (this->x_.in (), BOUND)
+ from_type (this->x_.in (), BOUND)
);
}