Loading...
Searching...
No Matches
biteration.hpp
Go to the documentation of this file.
1
2
#include "
core/builtin/container/iter/biterable.hpp
"
3
4
// nested class of tbicontainable.hpp
5
class
iteration
:
public
instance,
public
iterable
{
6
BY(ADT(
iteration
, instance))
7
8
public
:
9
iteration
(nbool isReversed): _isReversed(isReversed) {}
10
11
public
:
12
using
iterable::isFrom;
13
14
nbool isFrom(
const
tbicontainable& rhs)
const override
{
return
this->getContainer() == &rhs; }
15
16
nbool isReversed()
const override
{
return
_isReversed; }
17
18
private
:
19
nbool _isReversed;
20
};
biterable.hpp
iterable
Definition
biterable.hpp:4
iteration
Definition
biteration.hpp:5
to Top