Public Member Functions | Private Attributes | List of all members
grpc_core::XdsLocalityAttribute Class Reference

#include <xds.h>

Inheritance diagram for grpc_core::XdsLocalityAttribute:
Inheritance graph
[legend]

Public Member Functions

int Cmp (const AttributeInterface *other) const override
 
std::unique_ptr< AttributeInterface > Copy () const override
 
RefCountedPtr< XdsLocalityNamelocality_name () const
 
std::string ToString () const override
 
 XdsLocalityAttribute (RefCountedPtr< XdsLocalityName > locality_name)
 
- Public Member Functions inherited from grpc_core::ServerAddress::AttributeInterface
virtual int Cmp (const AttributeInterface *other) const =0
 
virtual ~AttributeInterface ()=default
 

Private Attributes

RefCountedPtr< XdsLocalityNamelocality_name_
 

Detailed Description

Definition at line 37 of file xds.h.

Constructor & Destructor Documentation

◆ XdsLocalityAttribute()

grpc_core::XdsLocalityAttribute::XdsLocalityAttribute ( RefCountedPtr< XdsLocalityName locality_name)
inlineexplicit

Definition at line 39 of file xds.h.

Member Function Documentation

◆ Cmp()

int grpc_core::XdsLocalityAttribute::Cmp ( const AttributeInterface *  other) const
inlineoverride

Definition at line 50 of file xds.h.

◆ Copy()

std::unique_ptr<AttributeInterface> grpc_core::XdsLocalityAttribute::Copy ( ) const
inlineoverridevirtual

Implements grpc_core::ServerAddress::AttributeInterface.

Definition at line 46 of file xds.h.

◆ locality_name()

RefCountedPtr<XdsLocalityName> grpc_core::XdsLocalityAttribute::locality_name ( ) const
inline

Definition at line 42 of file xds.h.

◆ ToString()

std::string grpc_core::XdsLocalityAttribute::ToString ( ) const
inlineoverridevirtual

Implements grpc_core::ServerAddress::AttributeInterface.

Definition at line 56 of file xds.h.

Member Data Documentation

◆ locality_name_

RefCountedPtr<XdsLocalityName> grpc_core::XdsLocalityAttribute::locality_name_
private

Definition at line 61 of file xds.h.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:38