blob: 6218b5da005e4ca965f2874b782b921675fddf7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
// -*- C++ -*-
//=============================================================================
/**
* @file PG_Operators.h
*
* $Id$
*
* @author Ossama Othman <ossama@uci.edu>
*/
//=============================================================================
#ifndef TAO_PG_OPERATORS_H
#define TAO_PG_OPERATORS_H
#include /**/ "ace/pre.h"
#include "orbsvcs/PortableGroup/portablegroup_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "orbsvcs/CosNamingC.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
/// Global CosNaming::Name equality operator.
/**
* Used for checking equality of PortableGroup::Location and
* PortableGroup::Property variables.
*/
bool TAO_PortableGroup_Export operator== (const CosNaming::Name & lhs,
const CosNaming::Name & rhs);
/// Global CosNaming::Name inequality operator.
/**
* This simple implementation simply negates the result of the
* equality operator.
*/
bool TAO_PortableGroup_Export operator!= (const CosNaming::Name & lhs,
const CosNaming::Name & rhs);
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* TAO_PG_OPERATORS_H */
|