#ifndef _AS68HC11_CACHE_TPP_ #define _AS68HC11_CACHE_TPP_ template WORD MRUCache::isInCache(CacheItem &cacheItem) { for(short itemIndex=0;itemIndex void MRUCache::insert(CacheItem &cacheItem) { if(mCacheBlock.size()()); pullCache(); mCacheBlock[0]=cacheItem; } else { pullCache(); mCacheBlock[0]=cacheItem; } } template void MRUCache::pullCache(void) { for(short itemIndex=mCacheBlock.size()-1;itemIndex>0;itemIndex--) mCacheBlock[itemIndex]=mCacheBlock[itemIndex-1]; } #endif