-
Notifications
You must be signed in to change notification settings - Fork 0
/
k3opeenrijnames.h
39 lines (29 loc) · 1.01 KB
/
k3opeenrijnames.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef K3OPEENRIJNAMES_H
#define K3OPEENRIJNAMES_H
#include <iostream>
#include <string>
#include <initializer_list>
#include <vector>
namespace ribi {
namespace koer {
enum class BlackHairedGirl
{
kristel,
marthe,
david
};
std::vector<BlackHairedGirl> GetBlackHairedGirls() noexcept;
enum class BlondeGirl { kathleen, josje, klaasje, matt };
enum class RedHairedGirl { karen, hanne, tyler };
BlackHairedGirl GetNext(const BlackHairedGirl girl) noexcept;
BlondeGirl GetNext(const BlondeGirl girl) noexcept;
RedHairedGirl GetNext(const RedHairedGirl girl) noexcept;
std::string ToStr(const BlackHairedGirl girl) noexcept;
std::string ToStr(const BlondeGirl girl) noexcept;
std::string ToStr(const RedHairedGirl girl) noexcept;
std::ostream& operator<<(std::ostream& os, const BlackHairedGirl g) noexcept;
std::ostream& operator<<(std::ostream& os, const BlondeGirl g) noexcept;
std::ostream& operator<<(std::ostream& os, const RedHairedGirl g) noexcept;
} //~namespace koer
} //~namespace ribi
#endif // K3OPEENRIJNAMES_H