root/main/trunk/greenstone2/runtime-src/src/oaiservr/dublincore.h @ 22205

Revision 22205, 0.7 KB (checked in by kjdon, 9 years ago)

added ifndef _DUBLINCORE_H_ etc because I am now including it more than once as qualified_dublin_core inherits from this now

  • Property svn:keywords set to Author Date Id Revision
Line 
1#ifndef _DUBLINCORE_H_
2#define _DUBLINCORE_H_
3#include "metaformat.h"
4
5class dublin_core : public metaformat
6{
7 protected:
8  virtual void output_metadata_header(ostream &output);
9  virtual void output_metadata_footer(ostream &output);
10  virtual bool output_custom_metadata(ostream &output, outconvertclass &outconvert, bool &headerDone, const text_t &collection, ResultDocInfo_t &docInfo);
11 public:
12  dublin_core();
13  virtual const text_t formatName();
14  virtual const text_t formatPrefix();
15  virtual bool output_record(ostream &output, recptproto *protocol, const text_t &collection,
16                 const text_t &record_OID);
17  virtual bool output_formatdata(ostream &output);
18};
19
20
21#endif
Note: See TracBrowser for help on using the browser.