/* **************************************************************************** * Constructor() **************************************************************************** */ /** * This is used to add a new CacheNode to the cache */ CacheNode(CacheNode oParent, string sSubsegment) { // we need to keep track of these for the removeSelf method moParent = oParent; msSubsegment = sSubsegment; moCache = oParent.moCache; moCache.increment(); addToFront(); }