Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Invocation_Adapter.inl
blob5bc144198f91b6cf4c040f733673165cdcefd986
1 // -*- C++ -*-
2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
4 namespace TAO
6   ACE_INLINE
7   Invocation_Adapter::Invocation_Adapter (
8       CORBA::Object *target,
9       Argument **args,
10       int arg_number,
11       const char *operation,
12       size_t op_len,
13       int collocation_opportunity,
14       Invocation_Type type,
15       Invocation_Mode mode,
16       bool has_in_args)
17     : target_ (target)
18     , args_ (args)
19     , number_args_  (arg_number)
20     , has_in_args_ (has_in_args)
21     , operation_ (operation)
22     , op_len_ (op_len)
23     , collocation_opportunity_ (collocation_opportunity)
24     , type_ (type)
25     , mode_ (mode)
26     , byte_order_ (TAO_ENCAP_BYTE_ORDER)
27   {
28   }
30   ACE_INLINE
31   void
32   Invocation_Adapter::_tao_byte_order (int byte_order)
33   {
34     this->byte_order_ = byte_order;
35   }
37   ACE_INLINE
38   int
39   Invocation_Adapter::_tao_byte_order ()
40   {
41     return this->byte_order_;
42   }
45 TAO_END_VERSIONED_NAMESPACE_DECL