OpenDDS  Snapshot(2021/11/05-18:34)
Public Member Functions | Public Attributes | List of all members
OpenDDS::DCPS::AddressCacheEntryProxy Struct Reference

#include <AddressCache.h>

Collaboration diagram for OpenDDS::DCPS::AddressCacheEntryProxy:
Collaboration graph
[legend]

Public Member Functions

 AddressCacheEntryProxy (RcHandle< AddressCacheEntry > rch)
 
bool operator< (const AddressCacheEntryProxy &rhs) const
 

Public Attributes

RcHandle< AddressCacheEntryentry_
 

Detailed Description

Definition at line 42 of file AddressCache.h.

Constructor & Destructor Documentation

◆ AddressCacheEntryProxy()

OpenDDS::DCPS::AddressCacheEntryProxy::AddressCacheEntryProxy ( RcHandle< AddressCacheEntry rch)
inline

Definition at line 43 of file AddressCache.h.

43 : entry_(rch) {}
RcHandle< AddressCacheEntry > entry_
Definition: AddressCache.h:49

Member Function Documentation

◆ operator<()

bool OpenDDS::DCPS::AddressCacheEntryProxy::operator< ( const AddressCacheEntryProxy rhs) const
inline

Definition at line 45 of file AddressCache.h.

References entry_.

45  {
46  return (rhs.entry_ && (!entry_ || (entry_->addrs_ < rhs.entry_->addrs_)));
47  }
RcHandle< AddressCacheEntry > entry_
Definition: AddressCache.h:49

Member Data Documentation

◆ entry_

RcHandle<AddressCacheEntry> OpenDDS::DCPS::AddressCacheEntryProxy::entry_

Definition at line 49 of file AddressCache.h.

Referenced by operator<().


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