home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / classlib.zip / db.zip / usr / include / db / dbrecord.h < prev    next >
C/C++ Source or Header  |  1994-08-31  |  572b  |  39 lines

  1. #ifndef _DBRECORD_H_
  2. #define _DBRECORD_H_
  3.  
  4. #ifndef _DBFILE_H_
  5. #include "DBFile.h"
  6. #endif
  7.  
  8. @interface DBRecord : Object
  9. {
  10.   DBRecord *nextRecord;
  11.   DBFile   *database;
  12.   long      recNo;
  13.   void     *buffer;
  14.   BOOL      changed;
  15. }
  16.  
  17. - initForDatabase: (DBFile *) aDatabase;
  18. - free;
  19.  
  20. - insert: (DBRecord *) aRecord at: (int) index;
  21. - deleteAt: (int) index;
  22. - findAt: (int) index;
  23.  
  24. - copyToDB;
  25. - copyFromDB;
  26. - replace;
  27.  
  28. - setChanged: (BOOL) value;
  29. - (BOOL) changed;
  30.  
  31. - (long) recNo;
  32.  
  33. - setNext: (DBRecord *) aRecord;
  34. - next;
  35.  
  36. @end
  37.  
  38. #endif
  39.