#ifndef ACCTLISTNODE_H #define ACCTLISTNODE_H #include #include "account-new.h" class AcctNode { public: // create a node using a specific account AcctNode (Account & val); Account GetValue() const; Account & GetValue(); //bool Delete(); AcctNode * NextNode(); AcctNode * PrevNode(); private: Account value; AcctNode * nextLink; AcctNode * prevLink; // allow lists to see element values friend class AcctList; }; ostream & operator << (ostream & strOut, const AcctNode & toShow); #endif