Category : C Source Code
Archive   : NIH.ZIP
Filename : SEQCLTN.HXX

 
Output of file : SEQCLTN.HXX contained in archive : NIH.ZIP
#ifndef SEQCLTN_H
#define SEQCLTN_H

/* SeqCltn.hxx -- declarations for abstract sequential collections

THIS SOFTWARE FITS THE DESCRIPTION IN THE U.S. COPYRIGHT ACT OF A
"UNITED STATES GOVERNMENT WORK". IT WAS WRITTEN AS A PART OF THE
AUTHOR'S OFFICIAL DUTIES AS A GOVERNMENT EMPLOYEE. THIS MEANS IT
CANNOT BE COPYRIGHTED. THIS SOFTWARE IS FREELY AVAILABLE TO THE
PUBLIC FOR USE WITHOUT A COPYRIGHT NOTICE, AND THERE ARE NO
RESTRICTIONS ON ITS USE, NOW OR SUBSEQUENTLY.

Author:
K. E. Gorlen
Computer Systems Laboratory, DCRT
National Institutes of Health
Bethesda, MD 20892

$Log: SeqCltn.hxx,v $
* Revision 1.3 88/02/04 13:00:12 keith
* Make Class class_CLASSNAME const.
*
* Revision 1.2 88/01/16 23:41:10 keith
* Remove pre-RCS modification history
*
*/

#include "Collecti.hxx"

extern const Class class_SeqCltn;
#ifdef OBJECTIO
overload SeqCltn_reader;
#endif //OBJECTIO

class SeqCltn: public Collection {
protected:
SeqCltn() {}
#ifdef OBJECTIO
SeqCltn(fileDescTy&,SeqCltn&) {}
SeqCltn(istream&,SeqCltn&) {}
friend void SeqCltn_reader(istream& strm, Object& where);
friend void SeqCltn_reader(fileDescTy& fd, Object& where);
#endif //OBJECTIO
void indexRangeErr();
public:
virtual void atAllPut(const Object& ob);
virtual void deepenShallowCopy();
virtual Object* doNext(Iterator&);
virtual Object* first();
virtual const Class* isA();
virtual int indexOf(const Object& ob);
virtual int indexOfSubCollection(const SeqCltn& cltn, int start=0);
virtual Object* last();
virtual void replaceFrom(int start, int stop, const SeqCltn& replacement, int startAt =0);
};

#endif


  3 Responses to “Category : C Source Code
Archive   : NIH.ZIP
Filename : SEQCLTN.HXX

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/