// -*- C++ -*- // // $Id$ // **** Code generated by the The ACE ORB (TAO) IDL Compiler **** // TAO and the TAO IDL Compiler have been developed by: // Center for Distributed Object Computing // Washington University // St. Louis, MO // USA // http://www.cs.wustl.edu/~schmidt/doc-center.html // and // Distributed Object Computing Laboratory // University of California at Irvine // Irvine, CA // USA // http://doc.ece.uci.edu/ // // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:151 #ifndef _TAO_IDL_ORIG_POLICY_FORWARDC_H_ #define _TAO_IDL_ORIG_POLICY_FORWARDC_H_ #include "ace/pre.h" #include "tao/corbafwd.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ #include "TAO_Export.h" #include "Sequence.h" #include "CDR.h" #include "varbase.h" #if defined (TAO_EXPORT_MACRO) #undef TAO_EXPORT_MACRO #endif #define TAO_EXPORT_MACRO TAO_Export #if defined (TAO_EXPORT_NESTED_CLASSES) # if defined (TAO_EXPORT_NESTED_MACRO) # undef TAO_EXPORT_NESTED_MACRO # endif /* defined (TAO_EXPORT_NESTED_MACRO) */ # define TAO_EXPORT_NESTED_MACRO TAO_Export #endif /* TAO_EXPORT_NESTED_CLASSES */ #if defined(_MSC_VER) #if (_MSC_VER >= 1200) #pragma warning(push) #endif /* _MSC_VER >= 1200 */ #pragma warning(disable:4250) #endif /* _MSC_VER */ #if defined (__BORLANDC__) #pragma option push -w-rvl -w-rch -w-ccc -w-inl #endif /* __BORLANDC__ */ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48 TAO_NAMESPACE CORBA { // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334 typedef CORBA::ULong PolicyType; typedef CORBA::ULong_out PolicyType_out; // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyType; // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface_fwd/interface_fwd_ch.cpp:53 class Policy; #if !defined (_CORBA_POLICY___PTR_CH_) #define _CORBA_POLICY___PTR_CH_ typedef Policy *Policy_ptr; #endif /* end #if !defined */ #if !defined (_CORBA_POLICY___VAR_CH_) #define _CORBA_POLICY___VAR_CH_ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:571 class TAO_Export Policy_var : public TAO_Base_var { public: Policy_var (void); // default constructor Policy_var (Policy_ptr p) : ptr_ (p) {} Policy_var (const Policy_var &); // copy constructor ~Policy_var (void); // destructor Policy_var &operator= (Policy_ptr); Policy_var &operator= (const Policy_var &); Policy_ptr operator-> (void) const; operator const Policy_ptr &() const; operator Policy_ptr &(); // in, inout, out, _retn Policy_ptr in (void) const; Policy_ptr &inout (void); Policy_ptr &out (void); Policy_ptr _retn (void); Policy_ptr ptr (void) const; // Hooks used by template sequence and object manager classes // for non-defined forward declared interfaces. static Policy_ptr tao_duplicate (Policy_ptr); static void tao_release (Policy_ptr); static Policy_ptr tao_nil (void); static Policy_ptr tao_narrow ( CORBA::Object * ACE_ENV_ARG_DECL_NOT_USED ); static CORBA::Object * tao_upcast (void *); private: Policy_ptr ptr_; // Unimplemented - prevents widening assignment. Policy_var (const TAO_Base_var &rhs); Policy_var &operator= (const TAO_Base_var &rhs); }; #endif /* end #if !defined */ #if !defined (_CORBA_POLICY___OUT_CH_) #define _CORBA_POLICY___OUT_CH_ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:946 class TAO_Export Policy_out { public: Policy_out (Policy_ptr &); Policy_out (Policy_var &); Policy_out (const Policy_out &); Policy_out &operator= (const Policy_out &); Policy_out &operator= (const Policy_var &); Policy_out &operator= (Policy_ptr); operator Policy_ptr &(); Policy_ptr &ptr (void); Policy_ptr operator-> (void); private: Policy_ptr &ptr_; }; #endif /* end #if !defined */ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp:62 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) #if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_CORBA_POLICYLIST_CH_) #define __TAO_UNBOUNDED_OBJECT_SEQUENCE_CORBA_POLICYLIST_CH_ class TAO_Export _TAO_Unbounded_Object_Sequence_CORBA_PolicyList : public TAO_Unbounded_Base_Sequence { public: _TAO_Unbounded_Object_Sequence_CORBA_PolicyList (void); _TAO_Unbounded_Object_Sequence_CORBA_PolicyList (CORBA::ULong maximum); _TAO_Unbounded_Object_Sequence_CORBA_PolicyList ( CORBA::ULong maximum, CORBA::ULong length, Policy* *value, CORBA::Boolean release = 0 ); _TAO_Unbounded_Object_Sequence_CORBA_PolicyList ( const _TAO_Unbounded_Object_Sequence_CORBA_PolicyList &rhs ); _TAO_Unbounded_Object_Sequence_CORBA_PolicyList &operator= ( const _TAO_Unbounded_Object_Sequence_CORBA_PolicyList &rhs ); virtual ~_TAO_Unbounded_Object_Sequence_CORBA_PolicyList (void); // = Accessors. TAO_Object_Manager operator[] (CORBA::ULong index) const; // = Static operations. static Policy **allocbuf (CORBA::ULong nelems); static void freebuf (Policy **buffer); // Implement the TAO_Base_Sequence methods (see Sequence.h) virtual void _allocate_buffer (CORBA::ULong length); virtual void _deallocate_buffer (void); Policy* *get_buffer (CORBA::Boolean orphan = 0); const Policy* *get_buffer (void) const; virtual void _shrink_buffer ( CORBA::ULong nl, CORBA::ULong ol ); virtual void _downcast ( void* target, CORBA::Object *src ACE_ENV_ARG_DECL_WITH_DEFAULTS ); virtual CORBA::Object* _upcast (void *src) const; }; #endif /* end #if !defined */ #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ #if !defined (_CORBA_POLICYLIST_CH_) #define _CORBA_POLICYLIST_CH_ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371 class PolicyList; class PolicyList_var; // ************************************************************* // CORBA::PolicyList // ************************************************************* class TAO_Export PolicyList : public // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Object_Sequence_CORBA_PolicyList #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Object_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: PolicyList (void); PolicyList (CORBA::ULong max); PolicyList ( CORBA::ULong max, CORBA::ULong length, Policy_ptr *buffer, CORBA::Boolean release = 0 ); PolicyList (const PolicyList &); ~PolicyList (void); static void _tao_any_destructor (void*); typedef PolicyList_var _var_type; }; #endif /* end #if !defined */ #if !defined (_CORBA_POLICYLIST___VAR_CH_) #define _CORBA_POLICYLIST___VAR_CH_ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549 // ************************************************************* // class CORBA::PolicyList_var // ************************************************************* class TAO_Export PolicyList_var { public: PolicyList_var (void); PolicyList_var (PolicyList *); PolicyList_var (const PolicyList_var &); ~PolicyList_var (void); PolicyList_var &operator= (PolicyList *); PolicyList_var &operator= (const PolicyList_var &); PolicyList *operator-> (void); const PolicyList *operator-> (void) const; operator const PolicyList &() const; operator PolicyList &(); operator PolicyList &() const; // Variable-size base types only. operator PolicyList *&(); TAO_Object_Manager operator[] (CORBA::ULong index); // in, inout, out, _retn const PolicyList &in (void) const; PolicyList &inout (void); PolicyList *&out (void); PolicyList *_retn (void); PolicyList *ptr (void) const; private: PolicyList *ptr_; }; #endif /* end #if !defined */ #if !defined (_CORBA_POLICYLIST___OUT_CH_) #define _CORBA_POLICYLIST___OUT_CH_ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753 class TAO_Export PolicyList_out { public: PolicyList_out (PolicyList *&); PolicyList_out (PolicyList_var &); PolicyList_out (const PolicyList_out &); PolicyList_out &operator= (const PolicyList_out &); PolicyList_out &operator= (PolicyList *); operator PolicyList *&(); PolicyList *&ptr (void); PolicyList *operator-> (void); TAO_Object_Manager operator[] (CORBA::ULong index); private: PolicyList *&ptr_; // Assignment from T_var not allowed. void operator= (const PolicyList_var &); }; #endif /* end #if !defined */ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyList; // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) #if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_POLICYTYPESEQ_CH_) #define __TAO_UNBOUNDED_SEQUENCE_CORBA_POLICYTYPESEQ_CH_ class TAO_Export _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq : public TAO_Unbounded_Base_Sequence { public: _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq (void); _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq (CORBA::ULong maximum); _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq ( CORBA::ULong maximum, CORBA::ULong length, CORBA::ULong *data, CORBA::Boolean release = 0 ); _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq ( const _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq &rhs ); _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq &operator= ( const _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq &rhs ); virtual ~_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq (void); // = Accessors. CORBA::ULong &operator[] (CORBA::ULong i); const CORBA::ULong &operator[] (CORBA::ULong i) const; // = Static operations. static CORBA::ULong *allocbuf (CORBA::ULong size); static void freebuf (CORBA::ULong *buffer); // Implement the TAO_Base_Sequence methods (see Sequence.h) virtual void _allocate_buffer (CORBA::ULong length); virtual void _deallocate_buffer (void); CORBA::ULong *get_buffer (CORBA::Boolean orphan = 0); const CORBA::ULong *get_buffer (void) const; void replace ( CORBA::ULong max, CORBA::ULong length, CORBA::ULong *data, CORBA::Boolean release ); }; #endif /* end #if !defined */ #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ #if !defined (_CORBA_POLICYTYPESEQ_CH_) #define _CORBA_POLICYTYPESEQ_CH_ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371 class PolicyTypeSeq; class PolicyTypeSeq_var; // ************************************************************* // CORBA::PolicyTypeSeq // ************************************************************* class TAO_Export PolicyTypeSeq : public // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51 #if !defined (TAO_USE_SEQUENCE_TEMPLATES) _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq #else /* TAO_USE_SEQUENCE_TEMPLATES */ TAO_Unbounded_Sequence #endif /* !TAO_USE_SEQUENCE_TEMPLATES */ { public: PolicyTypeSeq (void); PolicyTypeSeq (CORBA::ULong max); PolicyTypeSeq ( CORBA::ULong max, CORBA::ULong length, CORBA::ULong *buffer, CORBA::Boolean release = 0 ); PolicyTypeSeq (const PolicyTypeSeq &); ~PolicyTypeSeq (void); static void _tao_any_destructor (void*); typedef PolicyTypeSeq_var _var_type; }; #endif /* end #if !defined */ #if !defined (_CORBA_POLICYTYPESEQ___VAR_CH_) #define _CORBA_POLICYTYPESEQ___VAR_CH_ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549 // ************************************************************* // class CORBA::PolicyTypeSeq_var // ************************************************************* class TAO_Export PolicyTypeSeq_var { public: PolicyTypeSeq_var (void); PolicyTypeSeq_var (PolicyTypeSeq *); PolicyTypeSeq_var (const PolicyTypeSeq_var &); // Fixed-size base types only. PolicyTypeSeq_var (const PolicyTypeSeq &); ~PolicyTypeSeq_var (void); PolicyTypeSeq_var &operator= (PolicyTypeSeq *); PolicyTypeSeq_var &operator= (const PolicyTypeSeq_var &); // Fixed-size base types only. PolicyTypeSeq_var &operator= (const PolicyTypeSeq &); PolicyTypeSeq *operator-> (void); const PolicyTypeSeq *operator-> (void) const; operator const PolicyTypeSeq &() const; operator PolicyTypeSeq &(); operator PolicyTypeSeq &() const; PolicyType & operator[] (CORBA::ULong index); const PolicyType & operator[] (CORBA::ULong index) const; // in, inout, out, _retn const PolicyTypeSeq &in (void) const; PolicyTypeSeq &inout (void); PolicyTypeSeq *&out (void); PolicyTypeSeq *_retn (void); PolicyTypeSeq *ptr (void) const; private: PolicyTypeSeq *ptr_; }; #endif /* end #if !defined */ #if !defined (_CORBA_POLICYTYPESEQ___OUT_CH_) #define _CORBA_POLICYTYPESEQ___OUT_CH_ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753 class TAO_Export PolicyTypeSeq_out { public: PolicyTypeSeq_out (PolicyTypeSeq *&); PolicyTypeSeq_out (PolicyTypeSeq_var &); PolicyTypeSeq_out (const PolicyTypeSeq_out &); PolicyTypeSeq_out &operator= (const PolicyTypeSeq_out &); PolicyTypeSeq_out &operator= (PolicyTypeSeq *); operator PolicyTypeSeq *&(); PolicyTypeSeq *&ptr (void); PolicyTypeSeq *operator-> (void); PolicyType & operator[] (CORBA::ULong index); private: PolicyTypeSeq *&ptr_; // Assignment from T_var not allowed. void operator= (const PolicyTypeSeq_var &); }; #endif /* end #if !defined */ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyTypeSeq; // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_enum/enum_ch.cpp:57 enum SetOverrideType { SET_OVERRIDE, ADD_OVERRIDE }; typedef SetOverrideType &SetOverrideType_out; // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_SetOverrideType; // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:67 } TAO_NAMESPACE_CLOSE // module CORBA // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root.cpp:103 // External declarations for undefined interface // CORBA::Policy TAO_Export CORBA::Policy_ptr tao_CORBA_Policy_duplicate ( CORBA::Policy_ptr ); TAO_Export void tao_CORBA_Policy_release ( CORBA::Policy_ptr ); TAO_Export CORBA::Policy_ptr tao_CORBA_Policy_nil ( void ); TAO_Export CORBA::Policy_ptr tao_CORBA_Policy_narrow ( CORBA::Object * ACE_ENV_ARG_DECL_NOT_USED ); TAO_Export CORBA::Object * tao_CORBA_Policy_upcast ( void * ); TAO_Export CORBA::Boolean tao_CORBA_Policy_marshal ( CORBA::Policy_ptr, TAO_OutputCDR & ); // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface_fwd/any_op_ch.cpp:65 TAO_Export void operator<<= (CORBA::Any &, CORBA::Policy_ptr); // copying TAO_Export void operator<<= (CORBA::Any &, CORBA::Policy_ptr *); // non-copying TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::Policy *&); // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const CORBA::PolicyList &); // copying version TAO_Export void operator<<= (CORBA::Any &, CORBA::PolicyList*); // noncopying version TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::PolicyList *&); // deprecated TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CORBA::PolicyList *&); // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52 TAO_Export void operator<<= (CORBA::Any &, const CORBA::PolicyTypeSeq &); // copying version TAO_Export void operator<<= (CORBA::Any &, CORBA::PolicyTypeSeq*); // noncopying version TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::PolicyTypeSeq *&); // deprecated TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CORBA::PolicyTypeSeq *&); // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_enum/any_op_ch.cpp:51 TAO_Export void operator<<= (CORBA::Any &, CORBA::SetOverrideType); TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::SetOverrideType &); // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:48 #ifndef __ACE_INLINE__ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface_fwd/cdr_op_ch.cpp:66 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::Policy_ptr ); TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::Policy_ptr &); // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57 #if !defined _TAO_CDR_OP_CORBA_PolicyList_H_ #define _TAO_CDR_OP_CORBA_PolicyList_H_ TAO_Export CORBA::Boolean operator<< ( TAO_OutputCDR &, const CORBA::PolicyList & ); TAO_Export CORBA::Boolean operator>> ( TAO_InputCDR &, CORBA::PolicyList & ); #endif /* _TAO_CDR_OP_CORBA_PolicyList_H_ */ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57 #if !defined _TAO_CDR_OP_CORBA_PolicyTypeSeq_H_ #define _TAO_CDR_OP_CORBA_PolicyTypeSeq_H_ TAO_Export CORBA::Boolean operator<< ( TAO_OutputCDR &, const CORBA::PolicyTypeSeq & ); TAO_Export CORBA::Boolean operator>> ( TAO_InputCDR &, CORBA::PolicyTypeSeq & ); #endif /* _TAO_CDR_OP_CORBA_PolicyTypeSeq_H_ */ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_enum/cdr_op_ch.cpp:50 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::SetOverrideType &); TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::SetOverrideType &); // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:64 #endif /* __ACE_INLINE__ */ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:1009 #if defined (__ACE_INLINE__) #include "Policy_ForwardC.i" #endif /* defined INLINE */ #if defined(_MSC_VER) && (_MSC_VER >= 1200) #pragma warning(pop) #endif /* _MSC_VER */ #if defined (__BORLANDC__) #pragma option pop #endif /* __BORLANDC__ */ #include "ace/post.h" #endif /* ifndef */