School Commit Init
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#include "Map.h"
|
||||
class MapIterator
|
||||
{
|
||||
//DO NOT CHANGE THIS PART
|
||||
friend class Map;
|
||||
private:
|
||||
const Map& map;
|
||||
//TODO - Representation
|
||||
int _current;
|
||||
int _first;
|
||||
|
||||
MapIterator(const Map& m);
|
||||
public:
|
||||
void first();
|
||||
void next();
|
||||
TElem getCurrent();
|
||||
bool valid() const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user