//
// Created by Jake Close on 3/13/18.
//

#pragma once

#include "Post.h"

class ISR
	{

	public:
		//
		ISR* DocumentEnd;
		// Returns
		virtual Location First( );

		//Returns next post of a word given current location
		virtual Location Next( );


		//Calls seek onto one past the current end doc location
		//Return first instance of word at new document
		virtual Location NextDocument( );
		//Returns first instance of word after target location
		virtual Location Seek( Location target);
		virtual ISR *GetDocumentISR( );

		//Returns the location of the end of the document
		virtual Location GetEndDocument( );


		Location currentLocation;




	};