Files
PorygonLang/src/Evaluator/Iterator/Iterator.hpp
Deukhoofd 471dbac3b9
Some checks failed
continuous-integration/drone/push Build is failing
Implements iterator for user data collection
2019-08-15 11:43:08 +02:00

23 lines
411 B
C++

#ifndef PORYGONLANG_ITERATOR_HPP
#define PORYGONLANG_ITERATOR_HPP
#include <memory>
#include "../EvalValues/EvalValue.hpp"
using namespace std;
namespace Porygon::Evaluation{
class Iterator {
public:
virtual const EvalValue* GetCurrent() = 0;
virtual bool MoveNext() = 0;
virtual void Reset() = 0;
virtual ~Iterator(){}
};
}
#endif //PORYGONLANG_ITERATOR_HPP