]>
Commit | Line | Data |
---|---|---|
a56fcf0b CT |
1 | #include "helper/ReservationId.h" |
2 | ||
3 | Helper::ReservationId | |
4 | Helper::ReservationId::Next() | |
5 | { | |
6 | static uint64_t Ids = 0; | |
7 | Helper::ReservationId reservation; | |
8 | reservation.id = ++Ids; | |
9 | return reservation; | |
10 | } | |
11 | ||
12 | std::ostream & | |
13 | Helper::ReservationId::print(std::ostream &os) const | |
14 | { | |
15 | return os << "hlpRes" << id; | |
16 | } |