Files
2025-09-18 17:55:52 -04:00

29 lines
782 B
C++

#include "stdafx.h"
#include "Util/SystemAddress.h"
namespace RBX {
bool SystemAddress::operator==( const RBX::SystemAddress& right ) const
{
return binaryAddress == right.binaryAddress && port == right.port;
}
bool SystemAddress::operator!=( const RBX::SystemAddress& right ) const
{
return binaryAddress != right.binaryAddress || port != right.port;
}
bool SystemAddress::operator>( const RBX::SystemAddress& right ) const
{
return ( ( binaryAddress > right.binaryAddress ) || ( ( binaryAddress == right.binaryAddress ) && ( port > right.port ) ) );
}
bool SystemAddress::operator<( const RBX::SystemAddress& right ) const
{
return ( ( binaryAddress < right.binaryAddress ) || ( ( binaryAddress == right.binaryAddress ) && ( port < right.port ) ) );
}
} // namespace