Changeset 406 for trunk/gsdl/src/recpt/OIDtools.cpp
- Timestamp:
- 1999-07-20T15:01:15+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/OIDtools.cpp
r346 r406 12 12 /* 13 13 $Log$ 14 Revision 1.11 1999/07/20 02:59:03 sjboddie 15 get_children now takes a getParents argument 16 14 17 Revision 1.10 1999/07/07 05:47:41 sjboddie 15 18 changed around the way browsetools works … … 152 155 153 156 bool get_children (const text_t &OID, const text_t &collection, 154 const text_tarray &metadata, recptproto *collectproto, 155 FilterResponse_t &response, ostream &logout) { 157 const text_tarray &metadata, bool getParents, 158 recptproto *collectproto, FilterResponse_t &response, 159 ostream &logout) { 156 160 157 161 response.clear(); … … 167 171 request.filterResultOptions = FROID | FRmetadata; 168 172 request.fields = metadata; 173 request.getParents = getParents; 169 174 170 175 collectproto->filter (collection, request, response, err, logout); … … 260 265 int parentcols = countchar (parent.begin(), parent.end(), '.'); 261 266 FilterResponse_t tmp; 262 get_children (section.OID, collection, metadata, collectproto, tmp, logout); 267 bool getParents = false; 268 get_children (section.OID, collection, metadata, getParents, collectproto, tmp, logout); 263 269 ResultDocInfo_tarray::const_iterator thisdoc = tmp.docInfo.begin(); 264 270 ResultDocInfo_tarray::const_iterator lastdoc = tmp.docInfo.end();
Note:
See TracChangeset
for help on using the changeset viewer.