#ifndef SINGLENODE_H #define SINGLENODE_H /***************************************** * * Author: Surname, Given Names * Student ID: NNNNNNNN * Submitted for ECE 250 * Semester of Submission: (Winter|Spring|Fall) 20NN * * By submitting this file, I affirm that * I am the author of all modifications to * the provided code. * ***************************************** * *****************************************/ template class SingleList; template class CyclicList; template class SingleNode { private: Object element; SingleNode * next_node; public: SingleNode( const Object & e = Object(), SingleNode * n = 0 ); Object retrieve() const; SingleNode *next() const; friend class SingleList; friend class CyclicList; }; template SingleNode::SingleNode( const Object & e, SingleNode * n ):element( e ), next_node( n ) { // empty constructor } template Object SingleNode::retrieve() const { // enter your implementation here return Object(); } template SingleNode * SingleNode::next() const { // enter your implementation here return 0; } #endif