Struct astrea::trace::IdPair¶
ClassList > astrea > trace > IdPair
Represents a pair of IDs for sender and receiver.
#include <IdPair.hpp>
Public Attributes¶
| Type | Name |
|---|---|
| std::size_t | receiver The ID of the receiver. |
| std::size_t | sender < The ID of the sender. |
Public Functions¶
| Type | Name |
|---|---|
| IdPair () = default Default constructor for IdPair . |
|
| IdPair (std::size_t sender, std::size_t receiver) Constructs an IdPair with specified sender and receiver IDs. |
|
| IdPair (const IdPair & other) Copy constructor for IdPair . |
|
| bool | operator== (const IdPair & other) const Equality operator for IdPair . |
| ~IdPair () = default Default destructor for IdPair . |
Public Attributes Documentation¶
variable receiver¶
The ID of the receiver.
variable sender¶
< The ID of the sender.
Public Functions Documentation¶
function IdPair [1/3]¶
Default constructor for IdPair .
function IdPair [2/3]¶
Constructs an IdPair with specified sender and receiver IDs.
Parameters:
senderThe ID of the sender.receiverThe ID of the receiver.
function IdPair [3/3]¶
Copy constructor for IdPair .
Parameters:
otherThe IdPair to copy from.
function operator==¶
Equality operator for IdPair .
Parameters:
otherThe IdPair to compare with.
Returns:
True if both sender and receiver IDs are equal, false otherwise.
function ~IdPair¶
Default destructor for IdPair .
The documentation for this class was generated from the following file astrea/trace/trace/types/IdPair.hpp