3 //=============================================================================
5 * @file Object_SArg_Traits.h
7 * @author Ossama Othman
9 //=============================================================================
11 #ifndef TAO_OBJECT_SARG_TRAITS_H
12 #define TAO_OBJECT_SARG_TRAITS_H
14 #include /**/ "ace/pre.h"
16 #include "tao/CORBA_methods.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/PortableServer/Object_SArgument_T.h"
23 #include "tao/PortableServer/SArg_Traits_T.h"
24 #include "tao/Pseudo_VarOut_T.h"
25 #include "tao/Any_Insert_Policy_T.h"
26 #include "tao/PortableServer/portableserver_export.h"
28 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
33 typedef Object
*Object_ptr
;
35 typedef TAO_Pseudo_Var_T
<Object
> Object_var
;
36 typedef TAO_Pseudo_Out_T
<Object
> Object_out
;
39 // --------------------------------------------------------------
43 /// Used in generated code if CORBA::Object is an argument or
46 class TAO_PortableServer_Export SArg_Traits
<CORBA::Object
>
47 : public Object_SArg_Traits_T
<CORBA::Object_ptr
,
50 TAO::Any_Insert_Policy_Stream
>
55 TAO_END_VERSIONED_NAMESPACE_DECL
57 #include /**/ "ace/post.h"
59 #endif /* TAO_OBJECT_SARG_TRAITS_H */