Lines Matching refs:ServiceKey
22 class ServiceKey {
25 explicit ServiceKey(const MdnsRecord& record);
26 explicit ServiceKey(const DomainName& domain);
27 virtual ~ServiceKey() = default;
30 ServiceKey(absl::string_view service, absl::string_view domain);
31 ServiceKey(const ServiceKey& other);
32 ServiceKey(ServiceKey&& other);
34 ServiceKey& operator=(const ServiceKey& rhs);
35 ServiceKey& operator=(ServiceKey&& rhs);
43 static ErrorOr<ServiceKey> TryCreate(const MdnsRecord& record);
44 static ErrorOr<ServiceKey> TryCreate(const DomainName& domain);
50 friend H AbslHashValue(H h, const ServiceKey& key);
52 friend bool operator<(const ServiceKey& lhs, const ServiceKey& rhs);
63 H AbslHashValue(H h, const ServiceKey& key) { in AbslHashValue()
68 inline bool operator<(const ServiceKey& lhs, const ServiceKey& rhs) {
76 inline bool operator>(const ServiceKey& lhs, const ServiceKey& rhs) {
80 inline bool operator<=(const ServiceKey& lhs, const ServiceKey& rhs) {
84 inline bool operator>=(const ServiceKey& lhs, const ServiceKey& rhs) {
88 inline bool operator==(const ServiceKey& lhs, const ServiceKey& rhs) {
92 inline bool operator!=(const ServiceKey& lhs, const ServiceKey& rhs) {