Changeset 472 for trunk/gsdl/src/recpt/OIDtools.cpp
- Timestamp:
- 1999-08-25T16:50:00+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/OIDtools.cpp
r445 r472 12 12 /* 13 13 $Log$ 14 Revision 1.14 1999/08/25 04:45:25 sjboddie 15 changed FilterRequest_t::docSet into an array 16 14 17 Revision 1.13 1999/08/10 22:44:06 sjboddie 15 18 altered the get_contents function so it's now passed metadata … … 115 118 bool get_info (const text_t &OID, const text_t &collection, 116 119 const text_tarray &metadata, bool getParents, 117 recptproto *collectproto, FilterResponse_t &response,120 recptproto *collectproto, FilterResponse_t &response, 118 121 ostream &logout) { 119 122 … … 127 130 request.getParents = getParents; 128 131 request.fields = metadata; 129 request.docSet. insert(OID);132 request.docSet.push_back (OID); 130 133 131 134 collectproto->filter (collection, request, response, err, logout); … … 143 146 bool get_info (const text_tarray &OIDs, const text_t &collection, 144 147 const text_tarray &metadata, bool getParents, 145 recptproto *collectproto, FilterResponse_t &response,148 recptproto *collectproto, FilterResponse_t &response, 146 149 ostream &logout) { 147 150 … … 157 160 request.fields = metadata; 158 161 159 text_tarray::const_iterator thisOID = OIDs.begin(); 160 text_tarray::const_iterator endOID = OIDs.end(); 161 while (thisOID != endOID) { 162 request.docSet.insert (*thisOID); 163 thisOID ++; 164 } 162 request.docSet = OIDs; 165 163 166 164 collectproto->filter (collection, request, response, err, logout);
Note:
See TracChangeset
for help on using the changeset viewer.