Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / GIOP_Message_Locate_Header.h
blob46f2c2465b46dce9b6577636b1f12ab4bdcd0354
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file GIOP_Message_Locate_Header.h
7 * Some assorted GIOP structure mappings
9 * @author Balachandran Natarajan <bala@cs.wustl.edu>
11 //=============================================================================
14 #ifndef TAO_GIOP_MESSAGE_LOCATE_HEADER_H
15 #define TAO_GIOP_MESSAGE_LOCATE_HEADER_H
17 #include /**/ "ace/pre.h"
19 #include "tao/Tagged_Profile.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 # pragma once
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 /**
28 * @class TAO_GIOP_Locate_Request_Header
30 * @brief Location service support
32 class TAO_GIOP_Locate_Request_Header
34 public:
35 /// Constructor
36 TAO_GIOP_Locate_Request_Header (TAO_InputCDR &msg,
37 TAO_ORB_Core *core);
39 /// Set the id
40 void request_id (CORBA::ULong id);
42 /// Get the request id
43 CORBA::ULong request_id () const;
45 /// Get the object_key in read mode..
46 const TAO::ObjectKey &object_key () const;
48 /// Get the object_key in read/write mode..
49 TAO::ObjectKey &object_key ();
51 /// Get the reference to the underlying profile
52 TAO_Tagged_Profile &profile ();
54 /// Get the CDR stream for read/write
55 TAO_InputCDR &incoming_stream ();
57 private:
58 /// Request id
59 CORBA::ULong request_id_;
61 /// Profile info.
62 TAO_Tagged_Profile profile_;
64 /// Object Key
65 TAO::ObjectKey object_key_;
67 /// Incoming CDR stream
68 TAO_InputCDR *incoming_;
71 TAO_END_VERSIONED_NAMESPACE_DECL
73 #if defined (__ACE_INLINE__)
74 # include "tao/GIOP_Message_Locate_Header.inl"
75 #endif /* __ACE_INLINE__ */
77 #include /**/ "ace/post.h"
78 #endif /*TAO_GIOP_MESSAGE_LOCATE_HEADER_H*/