| 2450 | |
| 2451 | |
| 2452 | static void |
| 2453 | icvXMLStartNextStream( CvFileStorage* fs ) |
| 2454 | { |
| 2455 | if( !fs->is_first ) |
| 2456 | { |
| 2457 | while( fs->write_stack->total > 0 ) |
| 2458 | icvXMLEndWriteStruct(fs); |
| 2459 | |
| 2460 | fs->struct_indent = 0; |
| 2461 | icvXMLFlush(fs); |
| 2462 | /* XML does not allow multiple top-level elements, |
| 2463 | so we just put a comment and continue |
| 2464 | the current (and the only) "stream" */ |
| 2465 | icvPuts( fs, "\n<!-- next stream -->\n" ); |
| 2466 | /*fputs( "</opencv_storage>\n", fs->file ); |
| 2467 | fputs( "<opencv_storage>\n", fs->file );*/ |
| 2468 | fs->buffer = fs->buffer_start; |
| 2469 | } |
| 2470 | } |
| 2471 | |
| 2472 | |
| 2473 | static void |
nothing calls this directly
no test coverage detected