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

CurrentC.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: CurrentC.h,v 1.1.1.4 2003/02/21 18:36:44 chad Exp $
00004 
00005 // ****  Code generated by the The ACE ORB (TAO) IDL Compiler ****
00006 // TAO and the TAO IDL Compiler have been developed by:
00007 //       Center for Distributed Object Computing
00008 //       Washington University
00009 //       St. Louis, MO
00010 //       USA
00011 //       http://www.cs.wustl.edu/~schmidt/doc-center.html
00012 // and
00013 //       Distributed Object Computing Laboratory
00014 //       University of California at Irvine
00015 //       Irvine, CA
00016 //       USA
00017 //       http://doc.ece.uci.edu/
00018 //
00019 // Information about TAO is available at:
00020 //     http://www.cs.wustl.edu/~schmidt/TAO.html
00021 
00022 #ifndef _TAO_IDL_CORBA_CURRENTC_H_
00023 #define _TAO_IDL_CORBA_CURRENTC_H_
00024 
00025 #include "ace/pre.h"
00026 #include "tao/Object.h"
00027 
00028 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00029 # pragma once
00030 #endif /* ACE_LACKS_PRAGMA_ONCE */
00031 
00032 #include "tao/corbafwd.h"
00033 
00034 #if defined (TAO_EXPORT_MACRO)
00035 #undef TAO_EXPORT_MACRO
00036 #endif
00037 #define TAO_EXPORT_MACRO TAO_Export
00038 
00039 #if defined (TAO_EXPORT_NESTED_CLASSES)
00040 #  if defined (TAO_EXPORT_NESTED_MACRO)
00041 #    undef TAO_EXPORT_NESTED_MACRO
00042 #  endif /* defined (TAO_EXPORT_NESTED_MACRO) */
00043 #  define TAO_EXPORT_NESTED_MACRO TAO_Export
00044 #endif /* TAO_EXPORT_NESTED_CLASSES */
00045 
00046 #if defined(_MSC_VER)
00047 #if (_MSC_VER >= 1200)
00048 #pragma warning(push)
00049 #endif /* _MSC_VER >= 1200 */
00050 #pragma warning(disable:4250)
00051 #endif /* _MSC_VER */
00052 
00053 #if defined (__BORLANDC__)
00054 #pragma option push -w-rvl -w-rch -w-ccc -w-inl
00055 #endif /* __BORLANDC__ */
00056 
00057 
00058 #if !defined (_CORBA_CURRENT___PTR_CH_)
00059 #define _CORBA_CURRENT___PTR_CH_
00060 
00061 class CORBA_Current;
00062 typedef CORBA_Current *CORBA_Current_ptr;
00063 
00064 #endif /* end #if !defined */
00065 
00066 
00067 #if !defined (_CORBA_CURRENT___VAR_CH_)
00068 #define _CORBA_CURRENT___VAR_CH_
00069 
00070 class TAO_Export CORBA_Current_var : public TAO_Base_var
00071 {
00072 public:
00073   CORBA_Current_var (void); // default constructor
00074   CORBA_Current_var (CORBA_Current_ptr p) : ptr_ (p) {}
00075   CORBA_Current_var (const CORBA_Current_var &); // copy constructor
00076   ~CORBA_Current_var (void); // destructor
00077 
00078   CORBA_Current_var &operator= (CORBA_Current_ptr);
00079   CORBA_Current_var &operator= (const CORBA_Current_var &);
00080   CORBA_Current_ptr operator-> (void) const;
00081 
00082   operator const CORBA_Current_ptr &() const;
00083   operator CORBA_Current_ptr &();
00084   // in, inout, out, _retn
00085   CORBA_Current_ptr in (void) const;
00086   CORBA_Current_ptr &inout (void);
00087   CORBA_Current_ptr &out (void);
00088   CORBA_Current_ptr _retn (void);
00089   CORBA_Current_ptr ptr (void) const;
00090 
00091   // Hooks used by template sequence and object manager classes
00092   // for non-defined forward declared interfaces.
00093   static CORBA_Current_ptr tao_duplicate (CORBA_Current_ptr);
00094   static void tao_release (CORBA_Current_ptr);
00095   static CORBA_Current_ptr tao_nil (void);
00096   static CORBA_Current_ptr tao_narrow (
00097       CORBA::Object *
00098       ACE_ENV_ARG_DECL_NOT_USED
00099     );
00100   static CORBA::Object * tao_upcast (void *);
00101 
00102 private:
00103   CORBA_Current_ptr ptr_;
00104   // Unimplemented - prevents widening assignment.
00105   CORBA_Current_var (const TAO_Base_var &rhs);
00106   CORBA_Current_var &operator= (const TAO_Base_var &rhs);
00107 };
00108 
00109 
00110 #endif /* end #if !defined */
00111 
00112 
00113 #if !defined (_CORBA_CURRENT___OUT_CH_)
00114 #define _CORBA_CURRENT___OUT_CH_
00115 
00116 class TAO_Export CORBA_Current_out
00117 {
00118 public:
00119   CORBA_Current_out (CORBA_Current_ptr &);
00120   CORBA_Current_out (CORBA_Current_var &);
00121   CORBA_Current_out (const CORBA_Current_out &);
00122   CORBA_Current_out &operator= (const CORBA_Current_out &);
00123   CORBA_Current_out &operator= (const CORBA_Current_var &);
00124   CORBA_Current_out &operator= (CORBA_Current_ptr);
00125   operator CORBA_Current_ptr &();
00126   CORBA_Current_ptr &ptr (void);
00127   CORBA_Current_ptr operator-> (void);
00128 
00129 private:
00130   CORBA_Current_ptr &ptr_;
00131 };
00132 
00133 
00134 #endif /* end #if !defined */
00135 
00136 
00137 #if !defined (_CORBA_CURRENT_CH_)
00138 #define _CORBA_CURRENT_CH_
00139 
00140 class TAO_Export CORBA_Current
00141   : public virtual CORBA_Object
00142 {
00143 public:
00144 #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
00145   typedef CORBA_Current_ptr _ptr_type;
00146   typedef CORBA_Current_var _var_type;
00147 #endif /* ! __GNUC__ || g++ >= 2.8 */
00148 
00149   static int _tao_class_id;
00150 
00151   // The static operations.
00152   static CORBA_Current_ptr _duplicate (CORBA_Current_ptr obj);
00153 
00154   static CORBA_Current_ptr _narrow (
00155       CORBA::Object_ptr obj
00156       ACE_ENV_ARG_DECL_WITH_DEFAULTS);
00157 
00158 
00159   static CORBA_Current_ptr _unchecked_narrow (
00160       CORBA::Object_ptr obj
00161       ACE_ENV_ARG_DECL_WITH_DEFAULTS);
00162 
00163 
00164   static CORBA_Current_ptr _nil (void)
00165     {
00166       return (CORBA_Current_ptr)0;
00167     }
00168 
00169   virtual void *_tao_QueryInterface (ptr_arith_t type);
00170 
00171   virtual const char* _interface_repository_id (void) const;
00172 
00173 protected:
00174   CORBA_Current (void);
00175 
00176   virtual ~CORBA_Current (void);
00177 
00178 private:
00179   CORBA_Current (const CORBA_Current &);
00180   void operator= (const CORBA_Current &);
00181 };
00182 
00183 
00184 #endif /* end #if !defined */
00185 
00186 
00187 #ifndef __ACE_INLINE__
00188 
00189 
00190 #endif /* __ACE_INLINE__ */
00191 
00192 
00193 #if defined (__ACE_INLINE__)
00194 #include "tao/CurrentC.i"
00195 #endif /* defined INLINE */
00196 
00197 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
00198 #pragma warning(pop)
00199 #endif /* _MSC_VER */
00200 
00201 #if defined (__BORLANDC__)
00202 #pragma option pop
00203 #endif /* __BORLANDC__ */
00204 
00205 #include "ace/post.h"
00206 #endif /* ifndef */

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