Changeset 9
- Timestamp:
- 1999-09-14 15:16:44 (9 years ago)
- Location:
- trunk/xapian-core
- Files:
-
- 3 added
- 2 modified
-
common/database.h (modified) (4 diffs)
-
common/match.h (added)
-
matcher (added)
-
matcher/match.cc (added)
-
tests/dbtest.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xapian-core/common/database.h
r8 r9 2 2 */ 3 3 4 #include <map> 5 #include <list> 4 6 #include <string> 5 #include <map>6 7 #include <vector> 7 8 … … 29 30 void next(); // Moves to next docid 30 31 void skip_to(docid); // Moves to next docid >= specified docid 31 bool a re_more(); // True if there are more docid's32 bool at_end(); // True if iterator is off the end of the list 32 33 void close(); 33 34 }; … … 41 42 void next(); // Moves to next termid 42 43 void skip_to(termid); // Moves to next termid >= specified termid 43 bool a re_more(); // True if there are more termid's44 bool at_end(); // True if iterator is off the end of the list 44 45 void close(); 45 46 }; … … 47 48 class IRDatabase { 48 49 private: 50 public: 49 51 termid term_name_to_id(termname); 50 52 termname term_id_to_name(termid); 51 53 52 vector<PostListIterator> postlist; 53 vector<TermListIterator> termlist; 54 public: 54 list<PostListIterator*> postlist; 55 list<TermListIterator*> termlist; 55 56 }; 56 57 -
trunk/xapian-core/tests/dbtest.cc
r4 r9 1 1 #include "database.h" 2 #include "match.h" 2 3 3 4 int main(int argc, char *argv[]) {
