Changeset 7

Show
Ignore:
Timestamp:
1999-09-13 17:09:59 (9 years ago)
Author:
richard
Message:

Use close() to free resources (instead of destructor - lets us free up
resources used sooner)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/xapian-core/common/database.h

    r3 r7  
    2525    public: 
    2626        PostListIterator(); 
    27         ~PostListIterator(); 
    2827        void   open(termid);    // Throws RangeError if termid invalid 
    2928        docid  get_docid();     // Gets current docid 
     
    3837    public: 
    3938        TermListIterator(); 
    40         ~TermListIterator(); 
    4139        void   open(docid);     // Throws InvalidIDException if docid invalid 
    4240        termid get_termid();    // Gets current termid 
     
    4442        void   skip_to(termid); // Moves to next termid >= specified termid 
    4543        bool   are_more();      // True if there are more termid's 
     44        void   close(); 
    4645}; 
    4746