Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / PI / PolicyFactoryC.h
blob4c6b401933fbcebf685dc1d820c31369924fc548
1 // -*- C++ -*-
2 // **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
3 // TAO and the TAO IDL Compiler have been developed by:
4 // Center for Distributed Object Computing
5 // Washington University
6 // St. Louis, MO
7 // USA
8 // http://www.cs.wustl.edu/~schmidt/doc-center.html
9 // and
10 // Distributed Object Computing Laboratory
11 // University of California at Irvine
12 // Irvine, CA
13 // USA
14 // http://doc.ece.uci.edu/
15 // and
16 // Institute for Software Integrated Systems
17 // Vanderbilt University
18 // Nashville, TN
19 // USA
20 // http://www.isis.vanderbilt.edu/
22 // Information about TAO is available at:
23 // http://www.dre.vanderbilt.edu/~schmidt/TAO.html
25 // TAO_IDL - Generated from
26 // be\be_codegen.cpp:154
28 #ifndef _TAO_IDL_POLICYFACTORYC_H_
29 #define _TAO_IDL_POLICYFACTORYC_H_
31 #include /**/ "ace/pre.h"
34 #include "ace/config-all.h"
36 #if !defined (ACE_LACKS_PRAGMA_ONCE)
37 # pragma once
38 #endif /* ACE_LACKS_PRAGMA_ONCE */
40 #include "tao/PI/pi_export.h"
41 #include "tao/ORB.h"
42 #include "tao/Object.h"
43 #include "tao/AnyTypeCode/TypeCode.h"
44 #include "tao/AnyTypeCode/TypeCode_Constants.h"
45 #include "tao/AnyTypeCode/Any.h"
46 #include "tao/Objref_VarOut_T.h"
48 #include "tao/PolicyC.h"
50 // TAO_IDL - Generated from
51 // be\be_visitor_module/module_ch.cpp:49
53 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
55 namespace PortableInterceptor
57 // TAO_IDL - Generated from
58 // be\be_interface.cpp:646
60 #if !defined (_PORTABLEINTERCEPTOR_POLICYFACTORY__VAR_OUT_CH_)
61 #define _PORTABLEINTERCEPTOR_POLICYFACTORY__VAR_OUT_CH_
63 class PolicyFactory;
64 typedef PolicyFactory *PolicyFactory_ptr;
66 typedef
67 TAO_Objref_Var_T<
68 PolicyFactory
70 PolicyFactory_var;
72 typedef
73 TAO_Objref_Out_T<
74 PolicyFactory
76 PolicyFactory_out;
78 #endif /* end #if !defined */
80 // TAO_IDL - Generated from
81 // be\be_visitor_interface/interface_ch.cpp:54
83 #if !defined (_PORTABLEINTERCEPTOR_POLICYFACTORY_CH_)
84 #define _PORTABLEINTERCEPTOR_POLICYFACTORY_CH_
86 class TAO_PI_Export PolicyFactory
87 : public virtual ::CORBA::Object
89 public:
90 typedef PolicyFactory_ptr _ptr_type;
91 typedef PolicyFactory_var _var_type;
93 // The static operations.
94 static PolicyFactory_ptr _duplicate (PolicyFactory_ptr obj);
96 static void _tao_release (PolicyFactory_ptr obj);
98 static PolicyFactory_ptr _narrow (
99 ::CORBA::Object_ptr obj
103 static PolicyFactory_ptr _unchecked_narrow (
104 ::CORBA::Object_ptr obj
108 static PolicyFactory_ptr _nil ()
110 return static_cast<PolicyFactory_ptr> (0);
114 // TAO_IDL - Generated from
115 // be\be_visitor_operation/operation_ch.cpp:46
117 virtual ::CORBA::Policy_ptr create_policy (
118 ::CORBA::PolicyType type,
119 const ::CORBA::Any & value
122 = 0;
124 // Hand-crafted addition.
125 virtual ::CORBA::Policy_ptr _create_policy (
126 CORBA::PolicyType type
130 // TAO_IDL - Generated from
131 // be\be_visitor_interface/interface_ch.cpp:210
133 virtual ::CORBA::Boolean _is_a (
134 const char *type_id
138 virtual const char* _interface_repository_id () const;
139 virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
141 protected:
142 // Abstract or local interface only.
143 PolicyFactory ();
145 virtual ~PolicyFactory ();
147 private:
148 // Private and unimplemented for concrete interfaces.
149 PolicyFactory (const PolicyFactory &);
151 void operator= (const PolicyFactory &);
154 #endif /* end #if !defined */
156 // TAO_IDL - Generated from
157 // be\be_visitor_module/module_ch.cpp:78
159 } // module PortableInterceptor
161 // TAO_IDL - Generated from
162 // be\be_visitor_traits.cpp:61
164 // Traits specializations.
165 namespace TAO
167 #if !defined (_PORTABLEINTERCEPTOR_POLICYFACTORY__TRAITS_)
168 #define _PORTABLEINTERCEPTOR_POLICYFACTORY__TRAITS_
170 template<>
171 struct TAO_PI_Export Objref_Traits< ::PortableInterceptor::PolicyFactory>
173 static ::PortableInterceptor::PolicyFactory_ptr duplicate (
174 ::PortableInterceptor::PolicyFactory_ptr
176 static void release (
177 ::PortableInterceptor::PolicyFactory_ptr
179 static ::PortableInterceptor::PolicyFactory_ptr nil ();
180 static ::CORBA::Boolean marshal (
181 ::PortableInterceptor::PolicyFactory_ptr p,
182 TAO_OutputCDR & cdr
186 #endif /* end #if !defined */
189 // TAO_IDL - Generated from
190 // be\be_codegen.cpp:1040
192 TAO_END_VERSIONED_NAMESPACE_DECL
194 #include /**/ "ace/post.h"
196 #endif /* ifndef */