diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-05-04 23:16:32 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-05-04 23:16:32 +0000 |
commit | 6c164afe76f570d0505a8eced1deb16414bf812d (patch) | |
tree | 3e0c4010b8bba89d5b0b2b2a51db7b284a45038a /TAO/tao/Any_Dual_Impl_T.inl | |
parent | 07497b63430ef44fc3b283c6b558ca9670d8ada2 (diff) | |
download | ATCD-6c164afe76f570d0505a8eced1deb16414bf812d.tar.gz |
ChangeLogTag: Sun May 4 18:06:59 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Any_Dual_Impl_T.inl')
-rw-r--r-- | TAO/tao/Any_Dual_Impl_T.inl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/tao/Any_Dual_Impl_T.inl b/TAO/tao/Any_Dual_Impl_T.inl new file mode 100644 index 00000000000..bf3ecd90e33 --- /dev/null +++ b/TAO/tao/Any_Dual_Impl_T.inl @@ -0,0 +1,26 @@ +// $Id$ + +template<typename T> +ACE_INLINE +CORBA::Boolean +TAO::Any_Dual_Impl_T<T>::marshal_value (TAO_OutputCDR &cdr) +{ + return (cdr << *this->value_); +} + +template<typename T> +ACE_INLINE +CORBA::Boolean +TAO::Any_Dual_Impl_T<T>::demarshal_value (TAO_InputCDR &cdr) +{ + return (cdr >> *this->value_); +} + +template<typename T> +ACE_INLINE +const void * +TAO::Any_Dual_Impl_T<T>::value (void) const +{ + return this->value_; +} + |