Copyright ©1995 by NeXT Computer, Inc. All Rights Reserved.
IXPostingExchange |
Adopted By: | IXPostingCursor IXPostingList IXPostingSet | |
Declared In: | btree/protocols.h |
Protocol Description |
The IXPostingExchange protocol allows Indexing Kit classes to exchange their postings with one another. A posting is an optionally weighted opaque reference. A posting set is an array of postings ordered by handle, with no duplicates. |
Instance Methods |
getCount:andPostings: |
getCount:(unsigned int *)count andPostings:(IXPosting **)thePostings |
Returns by reference the number of postings, and a copy of the postings sorted by handle. The sender of this message is responsible for freeing the postings when they are no longer needed. Returns self. |
setCount:andPostings: |
setCount:(unsigned int)count andPostings:(IXPosting *)postings |
Sets the number of postings to count, and installs a copy of the contents of postings into the receiver. The sender of this message is responsible for freeing the postings when they are no longer needed. (Note: IXPostingCursor frees its postings.) Returns self. |