#ifndef SINGLELIST_H #define SINGLELIST_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. * ***************************************** * *****************************************/ #include "SingleNode.h" #include "Exception.h" template class SingleList { private: SingleNode * list_head; SingleNode * list_tail; int count; public: SingleList(); SingleList( const SingleList & obj ); ~SingleList(); // Accessors int size() const; bool empty() const; Object front() const; Object back() const; SingleNode * head() const; SingleNode * tail() const; bool member( const Object & obj ) const; // Mutators void push_front( const Object & obj ); void push_back( const Object & obj ); Object pop_front(); bool remove( const Object & obj ); }; template SingleList::SingleList() { // enter your implementation here } template SingleList::SingleList( const SingleList & obj ) { // enter your implementation here } template SingleList::~SingleList() { // enter your implementation here } template int SingleList::size() const { // enter your implementation here return 0; } template bool SingleList::empty() const { // enter your implementation here return true; } template Object SingleList::front() const { // enter your implementation here return Object(); } template Object SingleList::back() const { // enter your implementation here return Object(); } template SingleNode * SingleList::head() const { // enter your implementation here return 0; } template SingleNode * SingleList::tail() const { // enter your implementation here return 0; } template bool SingleList::member( const Object & obj ) const { // enter your implementation here return false; } template void SingleList::push_front( const Object & obj ) { // enter your implementation here } template void SingleList::push_back( const Object & obj ) { // enter your implementation here } template Object SingleList::pop_front() { // enter your implementation here return Object(); } template bool SingleList::remove( const Object & obj ) { // enter your implementation here return false; } #endif