- Timestamp:
- 2009-09-11T11:54:17+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/runtime-src/src/oaiservr/abstractlistaction.h
r16712 r20590 8 8 { 9 9 public: 10 abstractlistaction(const text_t &name) : oaiaction(name) {this->prevDocSeen = false;} 10 abstractlistaction(const text_t &name) : oaiaction(name) { } 11 11 12 virtual bool output_document(ostream &output, recptproto *protocol, const text_t &collection, 12 13 const text_t &OID, const text_t &metadataPrefix) = 0; 14 13 15 virtual bool output_content(ostream &output, recptproto *protocol, oaiargs ¶ms); 14 virtual void output_content_for_all(ostream &output, recptproto *protocol, oaiargs ¶ms); 15 virtual void output_content_for_col(ostream &output, recptproto *protocol, text_t &gsdlCollect, 16 ColInfoResponse_t &cinfo, comerror_t &err, oaiargs ¶ms); 17 virtual void recurse_set(ostream &output, recptproto *protocol, const text_t &collection, 18 const text_t &classifier, oaiargs ¶ms, ResumptionToken *resumptionToken); 16 17 virtual bool output_content_for_set(ostream &output, recptproto *protocol, oaiargs ¶ms, text_t collection_name, text_t gsdl_classifier_OID, text_t set_name); 18 19 19 20 protected: 20 bool prevDocSeen; 21 int outputDocs; 22 ResumptionToken *replyToken; 23 bool check_classifier(recptproto *protocol, const text_t &collection, const text_t &classifier); 21 int output_docs; 22 23 bool check_classifier(recptproto *protocol, const text_t &collection, const text_t &set_name); 24 25 bool in_date_range(ostream &output, recptproto *protocol, oaiargs ¶ms, 26 text_t& collection, text_t oai_OID, text_t from, text_t until); 24 27 }; 28 25 29 #endif
Note:
See TracChangeset
for help on using the changeset viewer.