Last change
on this file since 18896 was 18888, checked in by kjdon, 15 years ago |
constructor now takes a text_tset containing a list of metadata set names. Only those listed will be used
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
809 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:
|
---|
[18888] | 18 | recordaction(text_tset &metadataset);
|
---|
[8182] | 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.