=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tao / PortableServer / Object_SArg_Traits.h
blob95e560a255aa0d66e0c1171bca78678b6f6fba65
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Object_SArg_Traits.h
7 * @author Ossama Othman
8 */
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)
19 # 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
30 namespace CORBA
32 class Object;
33 typedef Object *Object_ptr;
35 typedef TAO_Pseudo_Var_T<Object> Object_var;
36 typedef TAO_Pseudo_Out_T<Object> Object_out;
39 // --------------------------------------------------------------
41 namespace TAO
43 /// Used in generated code if CORBA::Object is an argument or
44 /// return type.
45 template<>
46 class TAO_PortableServer_Export SArg_Traits<CORBA::Object>
47 : public Object_SArg_Traits_T<CORBA::Object_ptr,
48 CORBA::Object_var,
49 CORBA::Object_out,
50 TAO::Any_Insert_Policy_Stream>
55 TAO_END_VERSIONED_NAMESPACE_DECL
57 #include /**/ "ace/post.h"
59 #endif /* TAO_OBJECT_SARG_TRAITS_H */