6 #ifndef FSM_FSM_FSMLABEL_H_
7 #define FSM_FSM_FSMLABEL_H_
11 #include "interface/FsmPresentationLayer.h"
29 std::shared_ptr<FsmPresentationLayer> presentationLayer;
38 FsmLabel(
const int input,
const int output,
const std::shared_ptr<FsmPresentationLayer> presentationLayer);
83 size_t operator()(
const FsmLabel & x)
const noexcept
85 return ((51 + std::hash<int>()(x.
getInput())) * 51 + std::hash<int>()(x.
getOutput()));
89 #endif //FSM_FSM_FSMLABEL_H_
friend std::ostream & operator<<(std::ostream &out, const FsmLabel &label)
Definition: FsmLabel.cpp:42
friend bool operator<(FsmLabel const &label1, FsmLabel const &label2)
Definition: FsmLabel.cpp:29
Definition: FsmLabel.h:13
Definition: FsmLabel.h:77
FsmLabel(const int input, const int output, const std::shared_ptr< FsmPresentationLayer > presentationLayer)
Definition: FsmLabel.cpp:8
int getInput() const
Definition: FsmLabel.cpp:14
friend bool operator==(FsmLabel const &label1, FsmLabel const &label2)
Definition: FsmLabel.cpp:24
int getOutput() const
Definition: FsmLabel.cpp:19