1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

window: add getters

This commit is contained in:
Steffen Vogel 2019-04-15 12:12:02 +02:00
parent 9f7fd3776e
commit 4c427876d7

View file

@ -67,11 +67,16 @@ public:
return out;
}
size_type getPos() const
size_type getSteps() const
{
return steps;
}
size_type getPos() const
{
return pos;
}
T operator[](int i) const
{
return data[(pos + i) & mask];