home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / btree / IXPostingCursor.h < prev    next >
Text File  |  1992-06-05  |  949b  |  46 lines

  1. /*
  2. IXPostingCursor.h
  3. Copyright 1991,NeXT Computer,Inc.
  4. */
  5.  
  6. #import    "IXBTreeCursor.h"
  7.  
  8. #ifndef    RELEASE_2
  9. @interface IXPostingCursor: IXBTreeCursor <IXPostingExchange, IXPostingOperations>
  10. #else    RELEASE_2
  11. @interface IXPostingCursor: IXBTreeCursor
  12. #endif    RELEASE_2
  13. {
  14.     IXPosting            *_thisPosting;
  15.     struct PostingArray    *_cursorValue;
  16.     unsigned            _cursorLength;
  17.     IXBTreeCursor        *_valueCursor;
  18. }
  19.  
  20. #ifdef RELEASE_2
  21.  
  22. // @protocol IXPostingOperations
  23.  
  24. - addHandle:(unsigned)handle withWeight:(unsigned)weight;
  25. - removeHandle:(unsigned)handle;
  26.  
  27. - (unsigned)count;
  28. - empty;
  29.  
  30. - (unsigned)setFirstHandle;
  31. - (unsigned)setNextHandle;
  32.  
  33. - (unsigned)setHandle:(unsigned)handle;
  34. - (unsigned)getHandle:(unsigned *)handle 
  35.     andWeight:(unsigned *)weight;
  36.  
  37. // @protocol IXPostingExchange
  38.  
  39. - getCount:(unsigned *)theCount andPostings:(IXPosting **)thePostings;
  40. - setCount:(unsigned)theCount andPostings:(const IXPosting *)thePostings;
  41.  
  42. #endif    RELEASE_2
  43.  
  44. @end
  45.  
  46.