~ubuntu-branches/debian/stretch/openbabel/stretch

« back to all changes in this revision

Viewing changes to src/zipstreamimpl.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2008-07-22 23:54:58 UTC
  • mfrom: (3.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080722235458-3o606czluviz4akx
Tags: 2.2.0-2
* Upload to unstable.
* debian/control: Updated descriptions.
* debian/patches/gauss_cube_format.patch: New patch, makes the 
  gaussian cube format available again.
* debian/rules (DEB_DH_MAKESHLIBS_ARGS_libopenbabel3): Removed.
* debian/rules (DEB_CONFIGURE_EXTRA_FLAGS): Likewise.
* debian/libopenbabel3.install: Adjust formats directory to single 
  version hierarchy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
        {
156
156
            written_byte_size = static_cast<std::streamsize>(_output_buffer.size()) - _zip_stream.avail_out;
157
157
            total_written_byte_size += written_byte_size;
158
 
            // ouput buffer is full, dumping to ostream
 
158
            // output buffer is full, dumping to ostream
159
159
            _ostream.write( (const char_type*) &(_output_buffer[0]), 
160
160
                            static_cast<std::streamsize>(written_byte_size/sizeof(char_type)*sizeof(char)));
161
161
            
258
258
            written_byte_size= static_cast<std::streamsize>(_output_buffer.size()) -
259
259
                _zip_stream.avail_out;
260
260
            total_written_byte_size += written_byte_size;
261
 
            // ouput buffer is full, dumping to ostream
 
261
            // output buffer is full, dumping to ostream
262
262
 
263
263
            _ostream.write((const char_type*) &_output_buffer[0], 
264
264
                           static_cast<std::streamsize>(written_byte_size / sizeof(char_type)));
668
668
 * This must be called after the reading of compressed data is finished!  This
669
669
 * method compares it to the crc of the uncompressed data.
670
670
 *
671
 
 *    \return true if crc check is succesful
 
671
 *    \return true if crc check is successful
672
672
 */
673
673
template <class charT, class traits> inline
674
674
bool