Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CONV_FRAMEC.h

Go to the documentation of this file.
00001 
00002 //=============================================================================
00003 /**
00004  *  @file   CONV_FRAMEC.h
00005  *
00006  *  $Id: CONV_FRAMEC.h,v 1.1.1.3 2001/12/04 14:34:41 chad Exp $
00007  *
00008  * Generated from CONV_FRAME.pidl, that contains the OMG standarized
00009  * CONV_FRAME module.
00010  * The code was generated by the IDL compiler and then hand-crafted
00011  * to reduce the includes interdependencies.
00012  *
00013  *
00014  */
00015 //=============================================================================
00016 
00017 
00018 #ifndef TAO_CONV_FRAMEC_H
00019 #define TAO_CONV_FRAMEC_H
00020 #include "ace/pre.h"
00021 
00022 #include "tao/CDR.h"
00023 #include "tao/Sequence.h"
00024 
00025 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00026 # pragma once
00027 #endif /* ACE_LACKS_PRAGMA_ONCE */
00028 
00029 
00030 #if defined (TAO_EXPORT_MACRO)
00031 #undef TAO_EXPORT_MACRO
00032 #endif
00033 #define TAO_EXPORT_MACRO TAO_Export
00034 #if defined(_MSC_VER)
00035 #if (_MSC_VER >= 1200)
00036 #pragma warning(push)
00037 #endif /* _MSC_VER >= 1200 */
00038 #pragma warning(disable:4250)
00039 #endif /* _MSC_VER */
00040 
00041 TAO_NAMESPACE  CONV_FRAME
00042 {
00043   typedef CORBA::ULong CodeSetId;
00044   typedef CORBA::ULong_out CodeSetId_out;
00045     TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_CodeSetId;
00046 
00047   struct TAO_Export CodeSetComponent
00048   {
00049     static void _tao_any_destructor (void*);
00050 
00051     CodeSetId native_code_set;
00052 
00053 #if !defined (TAO_USE_SEQUENCE_TEMPLATES)
00054 
00055 #if !defined (__TAO_UNBOUNDED_SEQUENCE_CONV_FRAME_CODESETCOMPONENT__TAO_SEQ_CODESETID_CH_)
00056 #define __TAO_UNBOUNDED_SEQUENCE_CONV_FRAME_CODESETCOMPONENT__TAO_SEQ_CODESETID_CH_
00057 
00058       class TAO_EXPORT_MACRO _TAO_Unbounded_Sequence_CONV_FRAME_CodeSetComponent__tao_seq_CodeSetId : public TAO_Unbounded_Base_Sequence
00059       {
00060       public:
00061         // = Initialization and termination methods.
00062 
00063         _TAO_Unbounded_Sequence_CONV_FRAME_CodeSetComponent__tao_seq_CodeSetId (void); // Default constructor.
00064         _TAO_Unbounded_Sequence_CONV_FRAME_CodeSetComponent__tao_seq_CodeSetId (CORBA::ULong maximum);
00065         _TAO_Unbounded_Sequence_CONV_FRAME_CodeSetComponent__tao_seq_CodeSetId (CORBA::ULong maximum,
00066           CORBA::ULong length,
00067           CORBA::ULong *data,
00068           CORBA::Boolean release = 0);
00069         _TAO_Unbounded_Sequence_CONV_FRAME_CodeSetComponent__tao_seq_CodeSetId (const _TAO_Unbounded_Sequence_CONV_FRAME_CodeSetComponent__tao_seq_CodeSetId &rhs);
00070         _TAO_Unbounded_Sequence_CONV_FRAME_CodeSetComponent__tao_seq_CodeSetId &operator= (const _TAO_Unbounded_Sequence_CONV_FRAME_CodeSetComponent__tao_seq_CodeSetId &rhs);
00071         virtual ~_TAO_Unbounded_Sequence_CONV_FRAME_CodeSetComponent__tao_seq_CodeSetId (void); // Dtor.
00072         // = Accessors.
00073         CORBA::ULong &operator[] (CORBA::ULong i);
00074         const CORBA::ULong &operator[] (CORBA::ULong i) const;
00075         // = Static operations.
00076         static CORBA::ULong *allocbuf (CORBA::ULong size);
00077         static void freebuf (CORBA::ULong *buffer);
00078         virtual void _allocate_buffer (CORBA::ULong length);
00079         virtual void _deallocate_buffer (void);
00080         // Implement the TAO_Base_Sequence methods (see Sequence.h)
00081 
00082         CORBA::ULong *get_buffer (CORBA::Boolean orphan = 0);
00083         const CORBA::ULong *get_buffer (void) const;
00084         void replace (CORBA::ULong max,
00085           CORBA::ULong length,
00086           CORBA::ULong *data,
00087           CORBA::Boolean release);
00088       };
00089 
00090 #endif /* end #if !defined */
00091 
00092 
00093 #endif /* !TAO_USE_SEQUENCE_TEMPLATES */
00094 
00095 #if !defined (_CONV_FRAME_CODESETCOMPONENT__TAO_SEQ_CODESETID_CH_)
00096 #define _CONV_FRAME_CODESETCOMPONENT__TAO_SEQ_CODESETID_CH_
00097 
00098     // *************************************************************
00099     // _tao_seq_CodeSetId
00100     // *************************************************************
00101 
00102     class TAO_Export _tao_seq_CodeSetId : public
00103 #if !defined (TAO_USE_SEQUENCE_TEMPLATES)
00104       _TAO_Unbounded_Sequence_CONV_FRAME_CodeSetComponent__tao_seq_CodeSetId
00105 #else /* TAO_USE_SEQUENCE_TEMPLATES */
00106       TAO_Unbounded_Sequence<CORBA::ULong>
00107 #endif /* !TAO_USE_SEQUENCE_TEMPLATES */
00108     {
00109     public:
00110       _tao_seq_CodeSetId (void); // default ctor
00111       _tao_seq_CodeSetId (CORBA::ULong max); // uses max size
00112       _tao_seq_CodeSetId (
00113         CORBA::ULong max,
00114         CORBA::ULong length,
00115         CORBA::ULong *buffer,
00116         CORBA::Boolean release=0
00117       );
00118       _tao_seq_CodeSetId (const _tao_seq_CodeSetId &); // copy ctor
00119       ~_tao_seq_CodeSetId (void); // dtor
00120     };
00121     typedef _tao_seq_CodeSetId *_tao_seq_CodeSetId_ptr;
00122 
00123 #endif /* end #if !defined */
00124 
00125 
00126 #if !defined (_CONV_FRAME_CODESETCOMPONENT__TAO_SEQ_CODESETID___VAR_CH_)
00127 #define _CONV_FRAME_CODESETCOMPONENT__TAO_SEQ_CODESETID___VAR_CH_
00128 
00129 // *************************************************************
00130     // class CONV_FRAME::CodeSetComponent::_tao_seq_CodeSetId_var
00131     // *************************************************************
00132 
00133     class TAO_Export _tao_seq_CodeSetId_var
00134     {
00135     public:
00136       _tao_seq_CodeSetId_var (void); // default constructor
00137       _tao_seq_CodeSetId_var (_tao_seq_CodeSetId *);
00138       _tao_seq_CodeSetId_var (const _tao_seq_CodeSetId_var &); // copy constructor
00139       ~_tao_seq_CodeSetId_var (void); // destructor
00140 
00141       _tao_seq_CodeSetId_var &operator= (_tao_seq_CodeSetId *);
00142       _tao_seq_CodeSetId_var &operator= (const _tao_seq_CodeSetId_var &);
00143       _tao_seq_CodeSetId *operator-> (void);
00144       const _tao_seq_CodeSetId *operator-> (void) const;
00145 
00146       operator const _tao_seq_CodeSetId &() const;
00147       operator _tao_seq_CodeSetId &();
00148       operator _tao_seq_CodeSetId &() const;
00149       CodeSetId &operator[] (CORBA::ULong index);
00150       // in, inout, out, _retn
00151       const _tao_seq_CodeSetId &in (void) const;
00152       _tao_seq_CodeSetId &inout (void);
00153       _tao_seq_CodeSetId *&out (void);
00154       _tao_seq_CodeSetId *_retn (void);
00155       _tao_seq_CodeSetId *ptr (void) const;
00156 
00157     private:
00158       _tao_seq_CodeSetId *ptr_;
00159     };
00160 
00161 
00162 #endif /* end #if !defined */
00163 
00164 
00165 #if !defined (_CONV_FRAME_CODESETCOMPONENT__TAO_SEQ_CODESETID___OUT_CH_)
00166 #define _CONV_FRAME_CODESETCOMPONENT__TAO_SEQ_CODESETID___OUT_CH_
00167 
00168     class TAO_Export _tao_seq_CodeSetId_out
00169     {
00170     public:
00171       _tao_seq_CodeSetId_out (_tao_seq_CodeSetId *&);
00172       _tao_seq_CodeSetId_out (_tao_seq_CodeSetId_var &);
00173       _tao_seq_CodeSetId_out (const _tao_seq_CodeSetId_out &);
00174       _tao_seq_CodeSetId_out &operator= (const _tao_seq_CodeSetId_out &);
00175       _tao_seq_CodeSetId_out &operator= (_tao_seq_CodeSetId *);
00176       operator _tao_seq_CodeSetId *&();
00177       _tao_seq_CodeSetId *&ptr (void);
00178       _tao_seq_CodeSetId *operator-> (void);
00179       CodeSetId &operator[] (CORBA::ULong index);
00180 
00181     private:
00182       _tao_seq_CodeSetId *&ptr_;
00183       // assignment from T_var not allowed
00184       void operator= (const _tao_seq_CodeSetId_var &);
00185     };
00186 
00187 
00188 #endif /* end #if !defined */
00189 
00190     _tao_seq_CodeSetId conversion_code_sets;
00191   };
00192 
00193   class TAO_Export CodeSetComponent_var
00194   {
00195   public:
00196     CodeSetComponent_var (void); // default constructor
00197     CodeSetComponent_var (CodeSetComponent *);
00198     CodeSetComponent_var (const CodeSetComponent_var &); // copy constructor
00199     ~CodeSetComponent_var (void); // destructor
00200 
00201     CodeSetComponent_var &operator= (CodeSetComponent *);
00202     CodeSetComponent_var &operator= (const CodeSetComponent_var &);
00203     CodeSetComponent *operator-> (void);
00204     const CodeSetComponent *operator-> (void) const;
00205 
00206     operator const CodeSetComponent &() const;
00207     operator CodeSetComponent &();
00208     operator CodeSetComponent &() const;
00209     // in, inout, out, _retn
00210     const CodeSetComponent &in (void) const;
00211     CodeSetComponent &inout (void);
00212     CodeSetComponent *&out (void);
00213     CodeSetComponent *_retn (void);
00214     CodeSetComponent *ptr (void) const;
00215 
00216   private:
00217     CodeSetComponent *ptr_;
00218   };
00219 
00220   class TAO_Export CodeSetComponent_out
00221   {
00222   public:
00223     CodeSetComponent_out (CodeSetComponent *&);
00224     CodeSetComponent_out (CodeSetComponent_var &);
00225     CodeSetComponent_out (const CodeSetComponent_out &);
00226     CodeSetComponent_out &operator= (const CodeSetComponent_out &);
00227     CodeSetComponent_out &operator= (CodeSetComponent *);
00228     operator CodeSetComponent *&();
00229     CodeSetComponent *&ptr (void);
00230     CodeSetComponent *operator-> (void);
00231 
00232   private:
00233     CodeSetComponent *&ptr_;
00234     // assignment from T_var not allowed
00235     void operator= (const CodeSetComponent_var &);
00236   };
00237 
00238   TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_CodeSetComponent;
00239 
00240   struct TAO_Export CodeSetComponentInfo
00241   {
00242     static void _tao_any_destructor (void*);
00243 
00244     CodeSetComponent ForCharData;
00245     CodeSetComponent ForWcharData;
00246   };
00247 
00248   class TAO_Export CodeSetComponentInfo_var
00249   {
00250   public:
00251     CodeSetComponentInfo_var (void); // default constructor
00252     CodeSetComponentInfo_var (CodeSetComponentInfo *);
00253     CodeSetComponentInfo_var (const CodeSetComponentInfo_var &); // copy constructor
00254     ~CodeSetComponentInfo_var (void); // destructor
00255 
00256     CodeSetComponentInfo_var &operator= (CodeSetComponentInfo *);
00257     CodeSetComponentInfo_var &operator= (const CodeSetComponentInfo_var &);
00258     CodeSetComponentInfo *operator-> (void);
00259     const CodeSetComponentInfo *operator-> (void) const;
00260 
00261     operator const CodeSetComponentInfo &() const;
00262     operator CodeSetComponentInfo &();
00263     operator CodeSetComponentInfo &() const;
00264     // in, inout, out, _retn
00265     const CodeSetComponentInfo &in (void) const;
00266     CodeSetComponentInfo &inout (void);
00267     CodeSetComponentInfo *&out (void);
00268     CodeSetComponentInfo *_retn (void);
00269     CodeSetComponentInfo *ptr (void) const;
00270 
00271   private:
00272     CodeSetComponentInfo *ptr_;
00273   };
00274 
00275   class TAO_Export CodeSetComponentInfo_out
00276   {
00277   public:
00278     CodeSetComponentInfo_out (CodeSetComponentInfo *&);
00279     CodeSetComponentInfo_out (CodeSetComponentInfo_var &);
00280     CodeSetComponentInfo_out (const CodeSetComponentInfo_out &);
00281     CodeSetComponentInfo_out &operator= (const CodeSetComponentInfo_out &);
00282     CodeSetComponentInfo_out &operator= (CodeSetComponentInfo *);
00283     operator CodeSetComponentInfo *&();
00284     CodeSetComponentInfo *&ptr (void);
00285     CodeSetComponentInfo *operator-> (void);
00286 
00287   private:
00288     CodeSetComponentInfo *&ptr_;
00289     // assignment from T_var not allowed
00290     void operator= (const CodeSetComponentInfo_var &);
00291   };
00292 
00293   TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_CodeSetComponentInfo;
00294 
00295   struct TAO_Export CodeSetContext
00296   {
00297     static void _tao_any_destructor (void*);
00298 
00299     CodeSetId char_data;
00300     CodeSetId wchar_data;
00301   };
00302 
00303   class TAO_Export CodeSetContext_var
00304   {
00305   public:
00306     CodeSetContext_var (void); // default constructor
00307     CodeSetContext_var (CodeSetContext *);
00308     CodeSetContext_var (const CodeSetContext_var &); // copy constructor
00309     ~CodeSetContext_var (void); // destructor
00310 
00311     CodeSetContext_var &operator= (CodeSetContext *);
00312     CodeSetContext_var &operator= (const CodeSetContext_var &);
00313     CodeSetContext *operator-> (void);
00314     const CodeSetContext *operator-> (void) const;
00315 
00316     operator const CodeSetContext &() const;
00317     operator CodeSetContext &();
00318     operator CodeSetContext &() const;
00319     // in, inout, out, _retn
00320     const CodeSetContext &in (void) const;
00321     CodeSetContext &inout (void);
00322     CodeSetContext &out (void);
00323     CodeSetContext _retn (void);
00324     CodeSetContext *ptr (void) const;
00325 
00326   private:
00327     CodeSetContext *ptr_;
00328   };
00329 
00330   typedef CodeSetContext &CodeSetContext_out;
00331 
00332   TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_CodeSetContext;
00333 
00334 
00335 }
00336 TAO_NAMESPACE_CLOSE // module CONV_FRAME
00337 
00338 TAO_Export void operator<<= (CORBA::Any &,
00339                              const CONV_FRAME::CodeSetComponent &); // copying version
00340 TAO_Export void operator<<= (CORBA::Any &,
00341                              CONV_FRAME::CodeSetComponent*); // noncopying version
00342 TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &,
00343                                        CONV_FRAME::CodeSetComponent *&); // deprecated
00344 TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &,
00345                                        const CONV_FRAME::CodeSetComponent *&);
00346 TAO_Export void operator<<= (CORBA::Any &,
00347                              const CONV_FRAME::CodeSetComponentInfo &); // copying version
00348 TAO_Export void operator<<= (CORBA::Any &,
00349                              CONV_FRAME::CodeSetComponentInfo*); // noncopying version
00350 TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &,
00351                                        CONV_FRAME::CodeSetComponentInfo *&); // deprecated
00352 TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &,
00353                                        const CONV_FRAME::CodeSetComponentInfo *&);
00354 TAO_Export void operator<<= (CORBA::Any &,
00355                              const CONV_FRAME::CodeSetContext &); // copying version
00356 TAO_Export void operator<<= (CORBA::Any &,
00357                              CONV_FRAME::CodeSetContext*); // noncopying version
00358 TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &,
00359                                        CONV_FRAME::CodeSetContext *&); // deprecated
00360 TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &,
00361                                        const CONV_FRAME::CodeSetContext *&);
00362 #ifndef __ACE_INLINE__
00363 
00364 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CONV_FRAME::CodeSetComponent &);
00365 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CONV_FRAME::CodeSetComponent &);
00366 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &,
00367                                       const CONV_FRAME::CodeSetComponent::_tao_seq_CodeSetId &);
00368 TAO_Export CORBA::Boolean operator>> (
00369     TAO_InputCDR &,
00370     CONV_FRAME::CodeSetComponent::_tao_seq_CodeSetId &
00371   );
00372 
00373 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CONV_FRAME::CodeSetComponentInfo &);
00374 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CONV_FRAME::CodeSetComponentInfo &);
00375 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CONV_FRAME::CodeSetContext &);
00376 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CONV_FRAME::CodeSetContext &);
00377 
00378 #endif /* __ACE_INLINE__ */
00379 
00380 
00381 #if defined (__ACE_INLINE__)
00382 #include "tao/CONV_FRAMEC.i"
00383 #endif /* defined INLINE */
00384 
00385 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
00386 #pragma warning(pop)
00387 #endif /* _MSC_VER */
00388 
00389 #include "ace/post.h"
00390 #endif /* TAO_CONV_FRAMEC_H */

Generated on Mon Jun 16 13:48:07 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002