Logo Search packages:      
Sourcecode: inkscape version File versions

Adler32 Class Reference

#include <ziptool.h>

List of all members.


Detailed Description

This is intended to be a standalone, reduced capability implementation of Gzip and Zip functionality. Its targeted use case is for archiving and retrieving single files which use these encoding types. Being memory based and non-optimized, it is not useful in cases where very large archives are needed or where high performance is desired. However, it should hopefully work well for smaller, one-at-a-time tasks. What you get in return is the ability to drop these files into your project and remove the dependencies on ZLib and Info-Zip. Enjoy.

Authors: Bob Jamison

Copyright (C) 2006 Bob Jamison

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Definition at line 44 of file ziptool.h.


Public Member Functions

 Adler32 ()
unsigned long getValue ()
void reset ()
void update (char *str)
void update (unsigned char b)
virtual ~Adler32 ()

Private Attributes

unsigned long value

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index