OTest2
A C++ testing framework
|
Go to the documentation of this file.
20 #ifndef OTest2_INCLUDE_OTEST2_SCENARIOITER_H_
21 #define OTest2_INCLUDE_OTEST2_SCENARIOITER_H_
53 virtual bool isValid()
const noexcept = 0;
64 virtual void next() noexcept = 0;
virtual void next() noexcept=0
Move the iterator to next scenario.
Generic scenario iterator.
std::shared_ptr< Scenario > ScenarioPtr
Shared pointer of the scenario object.
virtual ScenarioPtr getScenario() const noexcept=0
Get pointed scenario object.
virtual ~ScenarioIter()
Dtor.
virtual bool isValid() const noexcept=0
Check whether the iterator points a valid scenario object.
ScenarioIter & operator=(const ScenarioIter &)=delete