| zipios
    2.2.0
    Zipios – a small C++ library that provides easy access to .zip files. | 
Various functions used throughout the library. More...


Go to the source code of this file.
| Namespaces | |
| zipios | |
| The zipios namespace includes the Zipios library definitions. | |
| Macros | |
| #define | ZIPIOS_COMMON_HPP | 
| Typedefs | |
| typedef std::vector< unsigned char > | zipios::buffer_t | 
| A buffer of characters.  More... | |
| typedef std::ostringstream | zipios::OutputStringStream | 
| An output stream using strings.  More... | |
| Functions | |
| template<class Type > | |
| void | operator+= (std::vector< Type > &v1, std::vector< Type > const &v2) | 
| Contatenate two vectors together.  More... | |
| void | zipios::zipRead (std::istream &is, uint32_t &value) | 
| void | zipios::zipRead (std::istream &is, uint16_t &value) | 
| void | zipios::zipRead (std::istream &is, uint8_t &value) | 
| void | zipios::zipRead (std::istream &is, buffer_t &buffer, ssize_t const count) | 
| void | zipios::zipRead (std::istream &is, std::string &str, ssize_t const count) | 
| void | zipios::zipRead (buffer_t const &is, size_t &pos, uint32_t &value) | 
| void | zipios::zipRead (buffer_t const &is, size_t &pos, uint16_t &value) | 
| void | zipios::zipRead (buffer_t const &is, size_t &pos, uint8_t &value) | 
| void | zipios::zipRead (buffer_t const &is, size_t &pos, buffer_t &buffer, ssize_t const count) | 
| void | zipios::zipRead (buffer_t const &is, size_t &pos, std::string &str, ssize_t const count) | 
| void | zipios::zipWrite (std::ostream &os, uint32_t const &value) | 
| void | zipios::zipWrite (std::ostream &os, uint16_t const &value) | 
| void | zipios::zipWrite (std::ostream &os, uint8_t const &value) | 
| void | zipios::zipWrite (std::ostream &os, buffer_t const &buffer) | 
| void | zipios::zipWrite (std::ostream &os, std::string const &str) | 
This file defines a small set of functions that do not really have another place to live.
Definition in file zipios_common.hpp.
| #define ZIPIOS_COMMON_HPP | 
Definition at line 3 of file zipios_common.hpp.
| void operator+= | ( | std::vector< Type > & | v1, | 
| std::vector< Type > const & | v2 | ||
| ) | 
This function appends vector v2 to vector v1 using a push_back() of all the elements of v2.
Note that the function fails to append anything is you write something like this:
Instead, create a new vector and then add the source twice, something like this:
| [in,out] | v1 | The vector which receives a copy of v2. | 
| [in] | v2 | The vector to concatenate at the end of v1. | 
Definition at line 75 of file zipios_common.hpp.
References zipios::g_separator.
 1.8.11
 1.8.11