Ignore:
Timestamp:
Mar 26, 2000, 12:17:47 AM (25 years ago)
Author:
bird
Message:

Untested implementation of kList.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/common/kList.h

    r824 r3237  
    1 /* $Id: kList.h,v 1.1 1999-09-05 02:09:17 bird Exp $ */
     1/* $Id: kList.h,v 1.2 2000-03-25 23:17:47 bird Exp $ */
    22/*
    33 * Simple list and sorted list template class.
     
    8585    class kList
    8686    {
     87        private:
     88            kEntry        *pFirst;
     89            kEntry        *pLast;
     90            unsigned long  cEntries;
    8791
     92        public:
     93            kList(void);
     94            ~kList(void);
     95
     96            void            destroy(void);
     97            void            insert(kEntry *pEntry);
     98            kEntry *        getFirst(void) const;
     99            kEntry *        getLast(void) const;
     100            unsigned long   getCount(void) const;
    88101    };
    89102
Note: See TracChangeset for help on using the changeset viewer.