Enrollment 28.2.0
Loading...
Searching...
No Matches
HandPosition.h
Go to the documentation of this file.
1
9#pragma once
10
11#include <cstdint>
12#include <ostream>
13
14namespace inno
15{
16 /// Hand to which slap belongs.
17 enum class HandPosition : uint8_t
18 {
20 LEFT,
22 RIGHT
23 };
24
25 inline std::ostream& operator<<(std::ostream& os, HandPosition p)
26 {
27 switch (p)
28 {
30 os << "LEFT";
31 break;
33 os << "RIGHT";
34 break;
35 }
36 return os;
37 }
38} // namespace inno
HandPosition
Hand to which slap belongs.
Definition HandPosition.h:17
@ RIGHT
Right hand position.
Definition HandPosition.h:21
@ LEFT
Left hand position.
Definition HandPosition.h:19