Last change
on this file since 24527 was 8337, checked in by cs025, 20 years ago |
Fixed problem with a '.' in a collection name; now '.' and ':' are
switched to cope with OAI mapping without inconsistencies and poor
mappings...
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
479 bytes
|
Line | |
---|
1 |
|
---|
2 | #ifndef _OAITOOLS_H_
|
---|
3 | #define _OAITOOLS_H_
|
---|
4 |
|
---|
5 | #include "text_t.h"
|
---|
6 | #include "comtypes.h"
|
---|
7 | #include "receptionist.h"
|
---|
8 |
|
---|
9 | class oaiclassifier {
|
---|
10 | public:
|
---|
11 | static text_t getGSDL_OID(const text_t &collection, const text_t& oai_id, recptproto *protocol,
|
---|
12 | ostream &logout);
|
---|
13 | static void toOAI(const text_t &collection, text_t &classifier);
|
---|
14 | static void toGSDL(text_t &collection, text_t &classifier);
|
---|
15 | private:
|
---|
16 | static void swapColonsAndPeriods(text_t &classifier);
|
---|
17 | };
|
---|
18 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.