<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>zip.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> > <b>C++ reference</b> </div> <div align="right"> <a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a> </div> <!-- Generated by Doxygen 1.7.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <div class="left"> <form id="FSearchBox" action="search.php" method="get"> <img id="MSearchSelect" src="search/mag.png" alt=""/> <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"/> </form> </div><div class="right"></div> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#namespaces">Namespaces</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">zip.h File Reference</div> </div> </div> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="utils__defs_8h_source.html">mrpt/utils/utils_defs.h</a>></code><br/> </div><div class="textblock"><div class="dynheader"> Include dependency graph for zip.h:</div> <div class="dyncontent"> <div class="center"><img src="zip_8h__incl.png" border="0" usemap="#zip_8h" alt=""/></div> <map name="zip_8h" id="zip_8h"> <area shape="rect" id="node3" href="utils__defs_8h.html" title="mrpt/utils/utils_defs.h" alt="" coords="2207,80,2353,107"/><area shape="rect" id="node7" href="os_8h.html" title="mrpt/system/os.h" alt="" coords="510,155,633,181"/><area shape="rect" id="node20" href="base_2include_2mrpt_2base_2link__pragmas_8h.html" title="mrpt/base/link_pragmas.h" alt="" coords="2118,379,2289,405"/><area shape="rect" id="node23" href="boost__join_8h.html" title="mrpt/utils/boost_join.h" alt="" coords="2377,453,2527,480"/><area shape="rect" id="node25" href="base_2include_2mrpt_2utils_2types_8h.html" title="mrpt/utils/types.h" alt="" coords="1351,229,1473,256"/><area shape="rect" id="node83" href="mrpt__macros_8h.html" title="mrpt/utils/mrpt_macros.h" alt="" coords="1693,229,1859,256"/><area shape="rect" id="node86" href="compiler__fixes_8h.html" title="mrpt/utils/compiler_fixes.h" alt="" coords="2521,155,2695,181"/><area shape="rect" id="node111" href="smart__ptr_8hpp.html" title="mrpt/otherlibs/stlplus/smart_ptr.hpp" alt="" coords="2627,229,2853,256"/><area shape="rect" id="node128" href="bits_8h.html" title="mrpt/utils/bits.h" alt="" coords="3216,155,3327,181"/><area shape="rect" id="node37" href="mrpt__stdint_8h.html" title="mrpt/utils/mrpt_stdint.h" alt="" coords="750,379,905,405"/><area shape="rect" id="node42" href="mrpt__inttypes_8h.html" title="mrpt/utils/mrpt_inttypes.h" alt="" coords="717,304,888,331"/><area shape="rect" id="node45" href="math__frwds_8h.html" title="mrpt/math/math_frwds.h" alt="" coords="963,304,1127,331"/><area shape="rect" id="node61" href="_dense.html" title="Eigen/Dense" alt="" coords="494,304,591,331"/><area shape="rect" id="node40" href="pstdint_8h.html" title="pstdint.h" alt="" coords="792,453,864,480"/><area shape="rect" id="node63" href="_core.html" title="Core" alt="" coords="505,453,556,480"/><area shape="rect" id="node74" href="_l_u.html" title="LU" alt="" coords="483,379,521,405"/><area shape="rect" id="node113" href="containers__fixes_8hpp.html" title="containers_fixes.hpp" alt="" coords="2802,379,2944,405"/><area shape="rect" id="node115" href="exceptions_8hpp.html" title="exceptions.hpp" alt="" coords="2685,304,2795,331"/><area shape="rect" id="node122" href="atomic__incr_8h.html" title="mrpt/synch/atomic_incr.h" alt="" coords="2491,304,2660,331"/><area shape="rect" id="node126" href="smart__ptr_8tpp.html" title="smart_ptr.tpp" alt="" coords="2820,304,2919,331"/><area shape="rect" id="node130" href="_s_s_e__types_8h.html" title="mrpt/utils/SSE_types.h" alt="" coords="3205,229,3363,256"/></map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="zip_8h__dep__incl.png" border="0" usemap="#zip_8hdep" alt=""/></div> <map name="zip_8hdep" id="zip_8hdep"> <area shape="rect" id="node3" href="compress_8h.html" title="compress.h" alt="" coords="105,80,196,107"/><area shape="rect" id="node5" href="base_8h.html" title="base.h" alt="" coords="120,155,181,181"/><area shape="rect" id="node7" href="_c_image___s_s_e3_8cpp.html" title="CImage_SSE3.cpp" alt="" coords="5,229,139,256"/><area shape="rect" id="node9" href="_c_image___s_s_e2_8cpp.html" title="CImage_SSE2.cpp" alt="" coords="163,229,297,256"/></map> </div> </div> <p><a href="zip_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="namespaces"></a> Namespaces</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt.html">mrpt</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><p>This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. </p> <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1utils.html">mrpt::utils</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL. </p> <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress.html">mrpt::compress</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Data compression/decompression algorithms. </p> <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress_1_1zip.html">mrpt::compress::zip</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Compression using the "zip" algorithm and from/to gzip (gz) files. </p> <br/></td></tr> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress_1_1zip.html#ae52b391cb61c044dda8397469c22835f">mrpt::compress::zip::compress</a> (void *inData, size_t inDataSize, <a class="el" href="classstd_1_1vector.html">std::vector</a>< unsigned char > &outData)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Compress an array of bytes into another one. <a href="#ae52b391cb61c044dda8397469c22835f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress_1_1zip.html#a3c456b4fa2b4a79aaa6f6b153d3138d3">mrpt::compress::zip::compress</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>< unsigned char > &inData, <a class="el" href="classstd_1_1vector.html">std::vector</a>< unsigned char > &outData)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Compress an array of bytes into another one. <a href="#a3c456b4fa2b4a79aaa6f6b153d3138d3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress_1_1zip.html#aa85ee21abb2d96583897e77dcd0d9946">mrpt::compress::zip::compress</a> (void *inData, size_t inDataSize, <a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">CStream</a> &out)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Compress an array of bytes and write the result into a stream. <a href="#aa85ee21abb2d96583897e77dcd0d9946"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress_1_1zip.html#a40a3fb8a901a6fb2a5a505c14ae3f195">mrpt::compress::zip::compress</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>< unsigned char > &inData, <a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">CStream</a> &out)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Compress an array of bytes and write the result into a stream. <a href="#a40a3fb8a901a6fb2a5a505c14ae3f195"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress_1_1zip.html#a8ca9abfd0c9c7f97c7731629e6a47cec">mrpt::compress::zip::decompress</a> (void *inData, size_t inDataSize, <a class="el" href="classstd_1_1vector.html">std::vector</a>< unsigned char > &outData, size_t outDataEstimatedSize)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Decompress an array of bytes into another one </p> <dl><dt><b>Exceptions:</b></dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classstd_1_1exception.html" title="STL class.">std::exception</a></td><td>If the apriori estimated decompressed size is not enought. </td></tr> </table> </dd> </dl> <a href="#a8ca9abfd0c9c7f97c7731629e6a47cec"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress_1_1zip.html#a264c54c089aa0d680932adcc9048db90">mrpt::compress::zip::decompress</a> (void *inData, size_t inDataSize, void *outData, size_t outDataBufferSize, size_t &outDataActualSize)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Decompress an array of bytes into another one </p> <dl><dt><b>Exceptions:</b></dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classstd_1_1exception.html" title="STL class.">std::exception</a></td><td>If the apriori estimated decompressed size is not enought. </td></tr> </table> </dd> </dl> <a href="#a264c54c089aa0d680932adcc9048db90"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress_1_1zip.html#a094f349d0973ce356564e237b43bf744">mrpt::compress::zip::decompress</a> (<a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">CStream</a> &inStream, size_t inDataSize, void *outData, size_t outDataBufferSize, size_t &outDataActualSize)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Decompress an array of bytes into another one </p> <dl><dt><b>Exceptions:</b></dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classstd_1_1exception.html" title="STL class.">std::exception</a></td><td>If the apriori estimated decompressed size is not enought. </td></tr> </table> </dd> </dl> <a href="#a094f349d0973ce356564e237b43bf744"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress_1_1zip.html#afe61b6cf04bb3bec480ea736a3bc8df6">mrpt::compress::zip::decompress_gz_file</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &file_path, vector_byte &buffer)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Decompress a gzip file (xxxx.gz) into a memory buffer. <a href="#afe61b6cf04bb3bec480ea736a3bc8df6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress_1_1zip.html#a849da35d535ba5933724907e99dba83c">mrpt::compress::zip::compress_gz_file</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &file_path, const vector_byte &buffer, const int compress_level=9)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Compress a memory buffer into a gzip file (xxxx.gz). <a href="#a849da35d535ba5933724907e99dba83c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress_1_1zip.html#a19ffeb11cd206759b10f07dabd180faa">mrpt::compress::zip::compress_gz_data_block</a> (const vector_byte &in_data, vector_byte &out_gz_data, const int compress_level=9)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Compress a memory buffer in gz-file format and return it as a block a memory. <a href="#a19ffeb11cd206759b10f07dabd180faa"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool BASE_IMPEXP </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1compress_1_1zip.html#a9f33fa39c5dc810d14fa459141e8b6b1">mrpt::compress::zip::decompress_gz_data_block</a> (const vector_byte &in_gz_data, vector_byte &out_data)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Decompress an array of bytes storing a gz-compressed stream of data into a memory buffer. <a href="#a9f33fa39c5dc810d14fa459141e8b6b1"></a><br/></td></tr> </table> </div> <br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150"> </td></tr> </table> </body></html>