diff options
Diffstat (limited to 'TAO/tao/ServicesC.h')
-rw-r--r-- | TAO/tao/ServicesC.h | 337 |
1 files changed, 60 insertions, 277 deletions
diff --git a/TAO/tao/ServicesC.h b/TAO/tao/ServicesC.h index d4dfeceb05a..6fd6cba64ce 100644 --- a/TAO/tao/ServicesC.h +++ b/TAO/tao/ServicesC.h @@ -27,12 +27,13 @@ #include "ace/pre.h" #include "tao/OctetSeqC.h" +#include "tao/CDR.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "tao/CDR.h" +#include "tao/VarOut_T.h" #if defined (TAO_EXPORT_MACRO) #undef TAO_EXPORT_MACRO @@ -64,7 +65,7 @@ TAO_NAMESPACE CORBA { // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334 + // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:333 typedef CORBA::UShort ServiceType; typedef CORBA::UShort_out ServiceType_out; @@ -75,7 +76,7 @@ TAO_NAMESPACE CORBA TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceType; // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334 + // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:333 typedef CORBA::ULong ServiceOption; typedef CORBA::ULong_out ServiceOption_out; @@ -86,7 +87,7 @@ TAO_NAMESPACE CORBA TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceOption; // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334 + // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:333 typedef CORBA::ULong ServiceDetailType; typedef CORBA::ULong_out ServiceDetailType_out; @@ -102,9 +103,25 @@ TAO_NAMESPACE CORBA const CORBA::ServiceType Security = 1U; // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49 + // W:\ACE_wrappers\TAO\TAO_IDL\be\be_type.cpp:231 + + struct ServiceDetail; - class ServiceDetail_var; + typedef + TAO_Var_Var_T< + ServiceDetail + > + ServiceDetail_var; + + typedef + TAO_Out_T< + ServiceDetail, + ServiceDetail_var + > + ServiceDetail_out; + + // TAO_IDL - Generated from + // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:52 struct TAO_Export ServiceDetail { @@ -116,69 +133,30 @@ TAO_NAMESPACE CORBA }; // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71 - - class TAO_Export ServiceDetail_var - { - public: - ServiceDetail_var (void); - ServiceDetail_var (ServiceDetail *); - ServiceDetail_var (const ServiceDetail_var &); - ~ServiceDetail_var (void); - - ServiceDetail_var &operator= (ServiceDetail *); - ServiceDetail_var &operator= (const ServiceDetail_var &); - ServiceDetail *operator-> (void); - const ServiceDetail *operator-> (void) const; - - operator const ServiceDetail &() const; - operator ServiceDetail &(); - operator ServiceDetail &() const; - - // Variable-size types only. - operator ServiceDetail *&(); - - // in, inout, out, _retn - const ServiceDetail &in (void) const; - ServiceDetail &inout (void); - ServiceDetail *&out (void); - ServiceDetail *_retn (void); - ServiceDetail *ptr (void) const; + // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 - private: - ServiceDetail *ptr_; - }; + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceDetail; // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445 + // W:\ACE_wrappers\TAO\TAO_IDL\be\be_type.cpp:231 - class TAO_Export ServiceDetail_out - { - public: - ServiceDetail_out (ServiceDetail *&); - ServiceDetail_out (ServiceDetail_var &); - ServiceDetail_out (const ServiceDetail_out &); - ServiceDetail_out &operator= (const ServiceDetail_out &); - ServiceDetail_out &operator= (ServiceDetail *); - operator ServiceDetail *&(); - ServiceDetail *&ptr (void); - ServiceDetail *operator-> (void); - - private: - ServiceDetail *&ptr_; - // Assignment from T_var not allowed. - void operator= (const ServiceDetail_var &); - }; + struct ServiceInformation; - // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 + typedef + TAO_Var_Var_T< + ServiceInformation + > + ServiceInformation_var; - TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceDetail; + typedef + TAO_Out_T< + ServiceInformation, + ServiceInformation_var + > + ServiceInformation_out; // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49 - - class ServiceInformation_var; + // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:52 struct TAO_Export ServiceInformation { @@ -187,101 +165,31 @@ TAO_NAMESPACE CORBA static void _tao_any_destructor (void *); - // 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_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CH_) -#define __TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CH_ - - class TAO_Export _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption - : public TAO_Unbounded_Base_Sequence - { - public: - _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (void); - _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (CORBA::ULong maximum); - _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption ( - CORBA::ULong maximum, - CORBA::ULong length, - CORBA::ULong *data, - CORBA::Boolean release = 0 - ); - _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption ( - const _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption &rhs - ); - _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption &operator= ( - const _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption &rhs - ); - virtual ~_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (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_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CH_) -#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CH_ - // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371 - - class _tao_seq_ServiceOption; - - // ************************************************************* - // CORBA::ServiceInformation::_tao_seq_ServiceOption - // ************************************************************* + // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:75 - class TAO_Export _tao_seq_ServiceOption : 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_ServiceInformation__tao_seq_ServiceOption -#else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence<CORBA::ULong> - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + class TAO_Export _tao_seq_ServiceOption + : public + TAO_Unbounded_Sequence< + CORBA::ServiceOption + > { public: _tao_seq_ServiceOption (void); _tao_seq_ServiceOption (CORBA::ULong max); _tao_seq_ServiceOption ( - CORBA::ULong max, - CORBA::ULong length, - CORBA::ULong *buffer, + CORBA::ULong max, + CORBA::ULong length, + CORBA::ULong* buffer, CORBA::Boolean release = 0 ); _tao_seq_ServiceOption (const _tao_seq_ServiceOption &); ~_tao_seq_ServiceOption (void); - static void _tao_any_destructor (void*); + static void _tao_any_destructor (void *); }; - -#endif /* end #if !defined */ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447 @@ -290,101 +198,31 @@ TAO_NAMESPACE CORBA _tao_seq_ServiceOption service_options; - // 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_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CH_) -#define __TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CH_ - - class TAO_Export _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail - : public TAO_Unbounded_Base_Sequence - { - public: - _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (void); - _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (CORBA::ULong maximum); - _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail ( - CORBA::ULong maximum, - CORBA::ULong length, - ACE_NESTED_CLASS (CORBA, ServiceDetail) *data, - CORBA::Boolean release = 0 - ); - _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail ( - const _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail &rhs - ); - _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail &operator= ( - const _TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail &rhs - ); - virtual ~_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (void); - - // = Accessors. - ACE_NESTED_CLASS (CORBA, ServiceDetail) &operator[] (CORBA::ULong i); - const ACE_NESTED_CLASS (CORBA, ServiceDetail) &operator[] (CORBA::ULong i) const; - - // = Static operations. - static ACE_NESTED_CLASS (CORBA, ServiceDetail) *allocbuf (CORBA::ULong size); - static void freebuf (ACE_NESTED_CLASS (CORBA, ServiceDetail) *buffer); - - // Implement the TAO_Base_Sequence methods (see Sequence.h) - virtual void _allocate_buffer (CORBA::ULong length); - virtual void _deallocate_buffer (void); - ACE_NESTED_CLASS (CORBA, ServiceDetail) *get_buffer (CORBA::Boolean orphan = 0); - const ACE_NESTED_CLASS (CORBA, ServiceDetail) *get_buffer (void) const; - void replace ( - CORBA::ULong max, - CORBA::ULong length, - ACE_NESTED_CLASS (CORBA, ServiceDetail) *data, - CORBA::Boolean release - ); - }; - -#endif /* end #if !defined */ - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ - -#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CH_) -#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CH_ - // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371 + // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:75 - class _tao_seq_ServiceDetail; - - // ************************************************************* - // CORBA::ServiceInformation::_tao_seq_ServiceDetail - // ************************************************************* - - class TAO_Export _tao_seq_ServiceDetail : 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_ServiceInformation__tao_seq_ServiceDetail -#else /* TAO_USE_SEQUENCE_TEMPLATES */ - TAO_Unbounded_Sequence<ACE_NESTED_CLASS (CORBA, ServiceDetail)> - -#endif /* !TAO_USE_SEQUENCE_TEMPLATES */ + class TAO_Export _tao_seq_ServiceDetail + : public + TAO_Unbounded_Sequence< + CORBA::ServiceDetail + > { public: _tao_seq_ServiceDetail (void); _tao_seq_ServiceDetail (CORBA::ULong max); _tao_seq_ServiceDetail ( - CORBA::ULong max, - CORBA::ULong length, - ACE_NESTED_CLASS (CORBA, ServiceDetail) *buffer, + CORBA::ULong max, + CORBA::ULong length, + ACE_NESTED_CLASS (CORBA, ServiceDetail)* buffer, CORBA::Boolean release = 0 ); _tao_seq_ServiceDetail (const _tao_seq_ServiceDetail &); ~_tao_seq_ServiceDetail (void); - static void _tao_any_destructor (void*); + static void _tao_any_destructor (void *); }; - -#endif /* end #if !defined */ // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447 @@ -394,61 +232,6 @@ TAO_NAMESPACE CORBA }; // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71 - - class TAO_Export ServiceInformation_var - { - public: - ServiceInformation_var (void); - ServiceInformation_var (ServiceInformation *); - ServiceInformation_var (const ServiceInformation_var &); - ~ServiceInformation_var (void); - - ServiceInformation_var &operator= (ServiceInformation *); - ServiceInformation_var &operator= (const ServiceInformation_var &); - ServiceInformation *operator-> (void); - const ServiceInformation *operator-> (void) const; - - operator const ServiceInformation &() const; - operator ServiceInformation &(); - operator ServiceInformation &() const; - - // Variable-size types only. - operator ServiceInformation *&(); - - // in, inout, out, _retn - const ServiceInformation &in (void) const; - ServiceInformation &inout (void); - ServiceInformation *&out (void); - ServiceInformation *_retn (void); - ServiceInformation *ptr (void) const; - - private: - ServiceInformation *ptr_; - }; - - // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445 - - class TAO_Export ServiceInformation_out - { - public: - ServiceInformation_out (ServiceInformation *&); - ServiceInformation_out (ServiceInformation_var &); - ServiceInformation_out (const ServiceInformation_out &); - ServiceInformation_out &operator= (const ServiceInformation_out &); - ServiceInformation_out &operator= (ServiceInformation *); - operator ServiceInformation *&(); - ServiceInformation *&ptr (void); - ServiceInformation *operator-> (void); - - private: - ServiceInformation *&ptr_; - // Assignment from T_var not allowed. - void operator= (const ServiceInformation_var &); - }; - - // 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_ServiceInformation; @@ -532,7 +315,7 @@ TAO_Export CORBA::Boolean operator>> ( #endif /* __ACE_INLINE__ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:1009 +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:1018 #if defined (__ACE_INLINE__) #include "ServicesC.i" |