EnigmaMachineCore 0.1.0
A modular Enigma Machine simulation in C++20
Loading...
Searching...
No Matches
Public Attributes | List of all members
PlugBoardPair Struct Reference

Represents a pair of characters connected on the plugboard. More...

#include <PlugBoardPair.hpp>

Public Attributes

int sourcePortIndex {-1}
 The first port index (0 - (TRANSFORMER_SIZE - 1)).
 
int destinationPortIndex {-1}
 The second port index (0 - (TRANSFORMER_SIZE - 1)).
 

Detailed Description

Represents a pair of characters connected on the plugboard.

Definition at line 11 of file PlugBoardPair.hpp.

Member Data Documentation

◆ destinationPortIndex

int PlugBoardPair::destinationPortIndex {-1}

The second port index (0 - (TRANSFORMER_SIZE - 1)).

Definition at line 15 of file PlugBoardPair.hpp.

◆ sourcePortIndex

int PlugBoardPair::sourcePortIndex {-1}

The first port index (0 - (TRANSFORMER_SIZE - 1)).

Definition at line 13 of file PlugBoardPair.hpp.


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