summaryrefslogtreecommitdiff
path: root/TAO/tao/AnyTypeCode/Any_Array_Impl_T.inl
blob: 876b658d0aeb45d8ad782cbfba1b258ce07b5e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// -*- C++ -*-
//
// $Id$

template<typename T_slice, typename T_forany>
ACE_INLINE
CORBA::Boolean
TAO::Any_Array_Impl_T<T_slice, T_forany>::marshal_value (TAO_OutputCDR &cdr)
{
  return (cdr << T_forany (this->value_));
}

template<typename T_slice, typename T_forany>
ACE_INLINE
CORBA::Boolean
TAO::Any_Array_Impl_T<T_slice, T_forany>::demarshal_value (TAO_InputCDR &cdr)
{
  T_forany tmp (this->value_);
  return (cdr >> tmp);
}

template<typename T_slice, typename T_forany>
ACE_INLINE
const void *
TAO::Any_Array_Impl_T<T_slice, T_forany>::value (void) const
{
  return this->value_;
}