source: trunk/gsdl/src/oaiservr/recordaction.h@ 8182

Last change on this file since 8182 was 8182, checked in by cs025, 20 years ago

Added OAI Server code to Greenstone

  • Property svn:keywords set to Author Date Id Revision
File size: 787 bytes
Line 
1#ifndef _RECORDACTION_H_
2#define _RECORDACTION_H_
3#include "oaiaction.h"
4
5#include <map>
6
7#include "comtypes.h"
8
9#include "metaformat.h"
10
11class recordaction : public oaiaction
12{
13 private:
14 metaformat_map formatMap;
15 FilterResponse_t gsdlResponse;
16
17 public:
18 recordaction();
19 ~recordaction();
20
21 virtual bool validateAction(recptproto *protocol, oaiargs &params);
22 bool output_content(ostream &output, recptproto *protocol, oaiargs &params);
23 bool output_record(ostream &output, const text_t &collection, const text_t &OID,
24 const text_t &metadataPrefix);
25 bool output_record(ostream &output, recptproto *protocol, const text_t &collection, const text_t &OID,
26 const text_t &metadataPrefix);
27 metaformat_map *get_formats() { return &this->formatMap; }
28};
29#endif
Note: See TracBrowser for help on using the repository browser.