| 668 | } |
| 669 | |
| 670 | void ImageFileImpl::decrWriterCount() |
| 671 | { |
| 672 | writerCount_--; |
| 673 | |
| 674 | #if ( E57_VALIDATION_LEVEL == VALIDATION_DEEP ) |
| 675 | if ( writerCount_ < 0 ) |
| 676 | { |
| 677 | throw E57_EXCEPTION2( ErrorInternal, "fileName=" + fileName_ + |
| 678 | " writerCount=" + toString( writerCount_ ) + |
| 679 | " readerCount=" + toString( readerCount_ ) ); |
| 680 | } |
| 681 | #endif |
| 682 | } |
| 683 | |
| 684 | void ImageFileImpl::incrReaderCount() |
| 685 | { |