Ignore:
Timestamp:
2017-02-08T20:07:14+13:00 (7 years ago)
Author:
ak19
Message:

Improved newly added oaiaction::getMeta(). Now return type is a bool and it now uses map.find() to locate requested meta.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/oaiservr/oaiaction.h

    r31387 r31390  
    6666  text_t getErrorType(){return this->errorType;};
    6767  void   getLastModifiedDate(ResultDocInfo_t &doc_info, text_t &lastModified);
    68   void   getMeta(ResultDocInfo_t &doc_info, const text_t &metaname, text_t &metavalue);
     68  bool   getMeta(ResultDocInfo_t &doc_info, const text_t &metaname, text_t &metavalue);
    6969  bool   inDateRange(const text_t &from, const text_t &until, const text_t &collection,
    7070             const text_t &OID, recptproto *protocol, ostream &logout);
Note: See TracChangeset for help on using the changeset viewer.