00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file varbase.h 00006 * 00007 * $Id: varbase.h 74014 2006-08-14 13:52:22Z johnnyw $ 00008 * 00009 * Contains a base class for the object _var classes. 00010 * 00011 * 00012 * @author Jeff Parsons. 00013 */ 00014 //============================================================================= 00015 00016 #ifndef TAO_VARBASE_H 00017 #define TAO_VARBASE_H 00018 #include /**/ "ace/pre.h" 00019 00020 #include /**/ "tao/Versioned_Namespace.h" 00021 00022 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00023 00024 /** 00025 * @class TAO_Base_var 00026 * 00027 * @brief TAO_Base_var 00028 * 00029 * Base class for object _var classes. Used to prevent the 00030 * _var class of a CORBA interface from accepting the _var 00031 * of a more derived interface in its copy constructor or 00032 * assignment operator. 00033 */ 00034 class TAO_Base_var 00035 { 00036 public: 00037 TAO_Base_var (void) {} 00038 00039 private: 00040 00041 TAO_Base_var (const TAO_Base_var &); 00042 TAO_Base_var & operator= (const TAO_Base_var &); 00043 00044 }; 00045 00046 TAO_END_VERSIONED_NAMESPACE_DECL 00047 00048 #include /**/ "ace/post.h" 00049 #endif /* TAO_VARBASE_H */