blob: 08421b6a99dd8120fec5d5cf5bf45a55b91006eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
// -*- C++ -*-
//=============================================================================
/**
* @file Object_SArg_Traits.h
*
* $Id$
*
* @author Ossama Othman
*/
//=============================================================================
#ifndef TAO_OBJECT_SARG_TRAITS_H
#define TAO_OBJECT_SARG_TRAITS_H
#include /**/ "ace/pre.h"
#include "tao/CORBA_methods.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/PortableServer/Object_SArgument_T.h"
#include "tao/PortableServer/SArg_Traits_T.h"
#include "tao/Pseudo_VarOut_T.h"
#include "tao/Any_Insert_Policy_T.h"
#include "tao/PortableServer/portableserver_export.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace CORBA
{
class Object;
typedef Object *Object_ptr;
typedef TAO_Pseudo_Var_T<Object> Object_var;
typedef TAO_Pseudo_Out_T<Object> Object_out;
}
// --------------------------------------------------------------
namespace TAO
{
/// Used in generated code if CORBA::Object is an argument or
/// return type.
template<>
class TAO_PortableServer_Export SArg_Traits<CORBA::Object>
: public Object_SArg_Traits_T<CORBA::Object_ptr,
CORBA::Object_var,
CORBA::Object_out,
TAO::Any_Insert_Policy_Stream>
{
};
}
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* TAO_OBJECT_SARG_TRAITS_H */
|