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
|
Rev | Line | |
---|
[8182] | 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 |
|
---|
| 11 | class 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 ¶ms);
|
---|
| 22 | bool output_content(ostream &output, recptproto *protocol, oaiargs ¶ms);
|
---|
| 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.