Rotor

Constructors

this
this(BSM!N perm, size_t ringOffset)

Constructs a rotor with no turnover notches. If ringOffset is 2, it corresponds to "C-03".

this
this(BSM!N perm, size_t turnover, size_t ringOffset)

Constructs a rotor with one turnover notch. If turnover is 1, the next rotor steps when this rotor steps from B to C. If ringOffset is 2, it corresponds to "C-03".

this
this(BSM!N perm, size_t turnover1, size_t turnover2, size_t ringOffset)

Constructs a rotor with two turnover notches. If turnover1 is 1 and turnover2 is 25, the next rotor steps when this rotor steps from B to C and from Z to A. If ringOffset is 2, it corresponds to "C-03".

this
this(BSM!N perm, size_t turnover1, size_t turnover2, size_t turnover3, size_t turnover4, size_t turnover5, size_t ringOffset)

Constructs a rotor with five turnover notches. If turnover1 is 1 and turnover2 is 25, the next rotor steps when this rotor steps from B to C and from Z to A. If ringOffset is 2, it corresponds to "C-03".

Members

Variables

perm
BSM!N perm;
Undocumented in source.

Meta