Changeset 278 for trunk/gsdl/src/recpt/OIDtools.cpp
- Timestamp:
- 1999-06-16T15:11:25+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/OIDtools.cpp
r274 r278 12 12 /* 13 13 $Log$ 14 Revision 1.8 1999/06/16 03:11:25 sjboddie 15 get_info() now takes a getParents argument 16 14 17 Revision 1.7 1999/06/16 02:05:23 sjboddie 15 18 just changed a comment that was confusing me … … 95 98 96 99 bool get_info (const text_t &OID, const text_t &collection, 97 const text_tarray &metadata, recptproto *collectproto, 98 FilterResponse_t &response, ostream &logout) { 100 const text_tarray &metadata, bool getParents, 101 recptproto *collectproto,FilterResponse_t &response, 102 ostream &logout) { 99 103 100 104 response.clear(); … … 105 109 request.filterName = "NullFilter"; 106 110 request.filterResultOptions = FRmetadata; 111 request.getParents = getParents; 107 112 request.fields = metadata; 108 113 request.docSet.insert (OID); … … 128 133 metadata.push_back ("haschildren"); 129 134 130 if (get_info (OID, collection, metadata, collectproto, 131 response, logout)) { 135 if (get_info (OID, collection, metadata, false, collectproto, response, logout)) { 132 136 if (response.docInfo[0].metadata[0].values[0] == "1") 133 137 return true; … … 280 284 281 285 // get topOIDs info 282 if (get_info (topOID, collection, metadata, collectproto, response, logout))286 if (get_info (topOID, collection, metadata, false, collectproto, response, logout)) 283 287 recurse_contents (response.docInfo[0], classify, totalcols, collection, 284 288 metadata, collectproto, response, logout);
Note:
See TracChangeset
for help on using the changeset viewer.