00001 // -*- C++ -*- 00002 00003 00004 //============================================================================= 00005 /** 00006 * @file PG_Operators.h 00007 * 00008 * PG_Operators.h,v 1.9 2006/03/14 06:14:34 jtc Exp 00009 * 00010 * @author Ossama Othman <ossama@uci.edu> 00011 */ 00012 //============================================================================= 00013 00014 00015 #ifndef TAO_PG_OPERATORS_H 00016 #define TAO_PG_OPERATORS_H 00017 00018 #include /**/ "ace/pre.h" 00019 00020 #include "orbsvcs/PortableGroup/portablegroup_export.h" 00021 00022 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00023 #pragma once 00024 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00025 00026 #include "orbsvcs/CosNamingC.h" 00027 00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00029 00030 /// Global CosNaming::Name equality operator. 00031 /** 00032 * Used for checking equality of PortableGroup::Location and 00033 * PortableGroup::Property variables. 00034 */ 00035 bool TAO_PortableGroup_Export operator== (const CosNaming::Name & lhs, 00036 const CosNaming::Name & rhs); 00037 00038 /// Global CosNaming::Name inequality operator. 00039 /** 00040 * This simple implementation simply negates the result of the 00041 * equality operator. 00042 */ 00043 bool TAO_PortableGroup_Export operator!= (const CosNaming::Name & lhs, 00044 const CosNaming::Name & rhs); 00045 00046 TAO_END_VERSIONED_NAMESPACE_DECL 00047 00048 #include /**/ "ace/post.h" 00049 00050 #endif /* TAO_PG_OPERATORS_H */