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