Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
con::PeerHelper Class Reference

#include <impl.h>

+ Collaboration diagram for con::PeerHelper:

Public Member Functions

 PeerHelper ()=default
 
 PeerHelper (Peer *peer)
 
 ~PeerHelper ()
 
PeerHelperoperator= (Peer *peer)
 
Peeroperator-> () const
 
Peeroperator& () const
 
bool operator! ()
 
bool operator!= (std::nullptr_t)
 

Private Attributes

Peerm_peer = nullptr
 

Constructor & Destructor Documentation

◆ PeerHelper() [1/2]

con::PeerHelper::PeerHelper ( )
default

◆ PeerHelper() [2/2]

con::PeerHelper::PeerHelper ( Peer * peer)
inline

◆ ~PeerHelper()

con::PeerHelper::~PeerHelper ( )

References con::Peer::DecUseCount(), and m_peer.

+ Here is the call graph for this function:

Member Function Documentation

◆ operator!()

bool con::PeerHelper::operator! ( )
inline

References m_peer.

◆ operator!=()

bool con::PeerHelper::operator!= ( std::nullptr_t )
inline

References m_peer.

◆ operator&()

Peer * con::PeerHelper::operator& ( ) const
inline

References m_peer.

◆ operator->()

Peer * con::PeerHelper::operator-> ( ) const
inline

References m_peer.

◆ operator=()

PeerHelper & con::PeerHelper::operator= ( Peer * peer)

References con::Peer::DecUseCount(), con::Peer::IncUseCount(), and m_peer.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_peer

Peer* con::PeerHelper::m_peer = nullptr
private

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