Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tao / GIOP_Message_State.inl
blob1bdeb20c34e27bc3fab8e7abbfca2da84c97cd89
1 // -*- C++ -*-
3 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
5 ACE_INLINE CORBA::ULong
6 TAO_GIOP_Message_State::message_size () const
8   return this->payload_size_ + TAO_GIOP_MESSAGE_HEADER_LEN;
11 ACE_INLINE CORBA::ULong
12 TAO_GIOP_Message_State::payload_size () const
14   return this->payload_size_;
17 ACE_INLINE CORBA::Octet
18 TAO_GIOP_Message_State::byte_order () const
20   return this->byte_order_;
23 ACE_INLINE GIOP::MsgType
24 TAO_GIOP_Message_State::message_type () const
26   return this->message_type_;
29 ACE_INLINE CORBA::Boolean
30 TAO_GIOP_Message_State::more_fragments () const
32   return this->more_fragments_;
35 ACE_INLINE void
36 TAO_GIOP_Message_State::more_fragments (CORBA::Boolean fragment)
38   this->more_fragments_ = fragment;
41 ACE_INLINE TAO_GIOP_Message_Version const &
42 TAO_GIOP_Message_State::giop_version () const
44   return this->giop_version_;
47 #if defined (TAO_HAS_ZIOP) && TAO_HAS_ZIOP ==1
48 ACE_INLINE CORBA::Boolean
49 TAO_GIOP_Message_State::compressed () const
51   return this->compressed_;
53 #endif
55 TAO_END_VERSIONED_NAMESPACE_DECL