Addons updated to new doc format
[io.git] / addons / SkipDB / source / IoSkipDBCursor.h
blob1c9928bab585ce99b6ca56cff014784e42f8bbe8
1 //metadoc SkipDBCursor copyright Steve Dekorte 2002
2 //metadoc SkipDBCursor license BSD revised
4 #ifndef IoSkipDBCursor_DEFINED
5 #define IoSkipDBCursor_DEFINED 1
7 #include "Common.h"
8 #include "IoState.h"
9 #include "IoObject.h"
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
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);
44 #ifdef __cplusplus
46 #endif
47 #endif