📄 policy.diff
字号:
--- orig/PolicyC.h 2003-12-23 21:01:14.000000000 -0600
+++ PolicyC.h 2003-12-23 21:29:08.000000000 -0600
@@ -1,6 +1,6 @@
// -*- C++ -*-
//
-// Policy.diff,v 1.3 2003/12/24 03:35:47 bala Exp
+// Policy.diff,v 1.3 2003/12/24 03:35:47 bala Exp
// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
// TAO and the TAO IDL Compiler have been developed by:
@@ -33,23 +33,13 @@
#include /**/ "ace/pre.h"
-#include "tao/ORB.h"
+#include "tao/CurrentC.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/TAO_Export.h"
-#include "tao/CDR.h"
-#include "tao/Environment.h"
-#include "tao/Object.h"
-#include "tao/Sequence_T.h"
-#include "tao/Objref_VarOut_T.h"
-#include "tao/Seq_Var_T.h"
-#include "tao/Seq_Out_T.h"
-
-#include "CurrentC.h"
-#include "Policy_ForwardC.h"
+#include "tao/Exception.h"
#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
@@ -369,6 +359,15 @@
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
+
+ // Handcrafted
+ // ****************************************************************
+ virtual CORBA::Boolean _tao_encode (TAO_OutputCDR &);
+ virtual CORBA::Boolean _tao_decode (TAO_InputCDR &);
+ virtual TAO_Cached_Policy_Type _tao_cached_type (void) const;
+ virtual TAO_Policy_Scope _tao_scope (void) const;
+ // ****************************************************************
+
private:
TAO::Collocation_Proxy_Broker *the_TAO_Policy_Proxy_Broker_;
--- orig/PolicyC.i 2003-12-23 21:01:14.000000000 -0600
+++ PolicyC.i 2003-12-23 21:29:08.000000000 -0600
@@ -1,6 +1,6 @@
// -*- C++ -*-
//
-// Policy.diff,v 1.3 2003/12/24 03:35:47 bala Exp
+// Policy.diff,v 1.3 2003/12/24 03:35:47 bala Exp
// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
// TAO and the TAO IDL Compiler have been developed by:
--- orig/PolicyC.cpp 2003-12-23 21:01:14.000000000 -0600
+++ PolicyC.cpp 2003-12-23 21:29:08.000000000 -0600
@@ -1,6 +1,6 @@
// -*- C++ -*-
//
-// Policy.diff,v 1.3 2003/12/24 03:35:47 bala Exp
+// Policy.diff,v 1.3 2003/12/24 03:35:47 bala Exp
// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
// TAO and the TAO IDL Compiler have been developed by:
@@ -1262,6 +1262,35 @@
#endif /* _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_CORBA_UShort__CPP_ */
+// Hand crafted.
+//
+// ****************************************************************
+CORBA::Boolean
+CORBA::Policy::_tao_encode (TAO_OutputCDR &)
+{
+ return 0;
+}
+
+CORBA::Boolean
+CORBA::Policy::_tao_decode (TAO_InputCDR &)
+{
+ return 0;
+}
+
+TAO_Cached_Policy_Type
+CORBA::Policy::_tao_cached_type (void) const
+{
+ return TAO_CACHED_POLICY_UNCACHED;
+}
+
+TAO_Policy_Scope
+CORBA::Policy::_tao_scope (void) const
+{
+ return TAO_POLICY_DEFAULT_SCOPE;
+}
+// ****************************************************************
+
+
// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -