Changeset 1347 for trunk/gsdl/src/recpt/OIDtools.cpp
- Timestamp:
- 2000-08-03T17:21:26+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/OIDtools.cpp
r1285 r1347 104 104 } 105 105 106 // overloaded, to allow "custom" filter options. 107 bool get_info (const text_t &OID, const text_t &collection, 108 const text_tset &metadata, const OptionValue_tarray &options, 109 bool getParents, 110 recptproto *collectproto, FilterResponse_t &response, 111 ostream &logout) { 112 113 response.clear(); 114 115 comerror_t err; 116 FilterRequest_t request; 117 118 request.filterName = "NullFilter"; 119 request.filterResultOptions = FRmetadata; 120 request.getParents = getParents; 121 request.filterOptions = options; 122 request.fields = metadata; 123 request.docSet.push_back (OID); 124 125 collectproto->filter (collection, request, response, err, logout); 126 if (err != noError) { 127 outconvertclass text_t2ascii; 128 logout << text_t2ascii 129 << "Error: call to filter failed for " << OID 130 << " in OIDtools::get_info (" 131 << get_comerror_string (err) << ")\n"; 132 return false; 133 } 134 135 return true; 136 } 137 106 138 bool get_info (const text_tarray &OIDs, const text_t &collection, 107 139 const text_tset &metadata, bool getParents, … … 133 165 return true; 134 166 } 167 168 135 169 136 170 // has_children returns true if OID has children
Note:
See TracChangeset
for help on using the changeset viewer.