Changeset 16128
- Timestamp:
- 2008-06-24T16:59:28+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/recpt/dynamicclassifieraction.cpp
r16126 r16128 200 200 // args["dcn"] may have been modified by output_hlist_classifier_nodes() above 201 201 text_t classifier_node_OID = args["dcn"]; 202 logout << "Classifier node OID: " << classifier_node_OID << endl;202 text_t classifier_node_metadata_value = classifier_node_OID; 203 203 204 204 // Split the classifier node OID into its components, then remove any we've already dealt with … … 208 208 { 209 209 classifier_node_OID_parts_remaining.pop_front(); 210 211 // Update classifier_node_metadata_value to remove any grouping node components 212 joinchar (classifier_node_OID_parts_remaining, '|', classifier_node_metadata_value); 210 213 } 211 214 if (classifier_options["-use_hlist_at_top"] == "1") … … 223 226 else 224 227 { 225 // This is the classifier node OID without any grouping information226 text_t classifier_node_OID_sans_grouping = classifier_node_OID;227 if (starts_with (classifier_node_OID, selected_grouping_node_OID + "|"))228 {229 classifier_node_OID_sans_grouping = substr (classifier_node_OID.begin() + (selected_grouping_node_OID + "|").size(), classifier_node_OID.end());230 }231 232 228 // Output the parent classifier nodes and the current classifier node 233 229 output_upper_classifier_nodes (current_classifier_node_OID, classifier_node_OID_parts_remaining, classifier_node_indent, classifier_options, args, collectproto, browsers, disp, outconvert, textout, logout); 234 230 235 231 // Output the child classifier nodes 236 text_t classifier_node_metadata_value = classifier_node_OID_sans_grouping;237 232 text_t metadata_value_filter = classifier_node_metadata_value + "|*"; 238 233 output_child_classifier_nodes (classifier_node_OID, classifier_node_metadata_value, metadata_value_filter, classifier_node_indent, classifier_options, args, collectproto, browsers, disp, outconvert, textout, logout);
Note:
See TracChangeset
for help on using the changeset viewer.