blob: 8a89632f573a1959f38d7788c290911e42c0a117 (
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
|
// -*- C++ -*-
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE u_long
TAO_Notify_EventType::hash () const
{
return this->hash_value_;
}
ACE_INLINE const CosNotification::EventType&
TAO_Notify_EventType::native () const
{
return event_type_;
}
ACE_INLINE bool
TAO_Notify_EventType::domain_is_wildcard (const char* domain) const
{
return (domain == 0 || ACE_OS::strcmp (domain, "") == 0 ||
ACE_OS::strcmp (domain, "*") == 0);
}
ACE_INLINE bool
TAO_Notify_EventType::type_is_wildcard (const char* type) const
{
return (type == 0 || ACE_OS::strcmp (type, "") == 0 ||
ACE_OS::strcmp (type, "*") == 0 ||
ACE_OS::strcmp (type, "%ALL") == 0);
}
TAO_END_VERSIONED_NAMESPACE_DECL
|