home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / finst151.zip / SAINT.H_ / SAINT.H
C/C++ Source or Header  |  1994-06-28  |  550b  |  20 lines

  1. #define __SAINT_H
  2.  
  3. class saint                                                /* static int array */
  4. {                                             
  5.    int *buf;                                                         /* buffer */
  6.  
  7.    public:
  8.    saint();
  9.   ~saint();
  10.  
  11.    int *getbuf()                       { return buf;        }
  12.    int &operator[](int idx)            { return buf[idx];   }
  13.    int *operator+(int offset)          { return buf+offset; }
  14.  
  15.    int *takbuf();
  16.    int setbufsize(int newbufsize);
  17.    void setempty();
  18. };
  19.  
  20.