1 //metadoc SkipDBCursor copyright Steve Dekorte 2002
2 //metadoc SkipDBCursor license BSD revised
4 #ifndef IoSkipDBCursor_DEFINED
5 #define IoSkipDBCursor_DEFINED 1
15 #define ISSKIPDBCURSOR(self) \
16 IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoSkipDBCursor_rawClone)
18 typedef IoObject IoSkipDBCursor
;
20 IoSkipDBCursor
*IoSkipDBCursor_proto(void *state
);
21 IoSkipDBCursor
*IoSkipDBCursor_rawClone(IoObject
*self
);
22 IoSkipDBCursor
*IoSkipDBCursor_new(void *state
);
23 IoSkipDBCursor
*IoSkipDBCursor_newWithSDBCursor(void *state
, SkipDBCursor
*cursor
);
24 void IoSkipDBCursor_free(IoObject
*self
);
25 void IoSkipDBCursor_mark(IoObject
*self
);
27 //void IoSkipDBCursor_writeToStream_(IoObject *self, BStream *stream);
28 //void IoSkipDBCursor_readFromStream_(IoObject *self, BStream *stream);
30 // --------------------------------------------------------
32 IoObject
*IoSkipDBCursor_goto(IoObject
*self
, IoObject
*locals
, IoMessage
*m
);
34 IoObject
*IoSkipDBCursor_first(IoObject
*self
, IoObject
*locals
, IoMessage
*m
);
35 IoObject
*IoSkipDBCursor_last(IoObject
*self
, IoObject
*locals
, IoMessage
*m
);
37 IoObject
*IoSkipDBCursor_next(IoObject
*self
, IoObject
*locals
, IoMessage
*m
);
38 IoObject
*IoSkipDBCursor_previous(IoObject
*self
, IoObject
*locals
, IoMessage
*m
);
40 IoObject
*IoSkipDBCursor_key(IoObject
*self
, IoObject
*locals
, IoMessage
*m
);
41 IoObject
*IoSkipDBCursor_value(IoObject
*self
, IoObject
*locals
, IoMessage
*m
);