![]() |
Exiv2
|
Simple implementation of slices (=views) for STL containers and C-arrays. More...
#include <cassert>
#include <cstddef>
#include <iterator>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
Exiv2 | |
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of the objects of this namespace. | |
Exiv2::Internal | |
Contains internal objects which are not published and are not part of the libexiv2 API. | |
Functions | |
template<typename T > | |
Slice< T > | Exiv2::makeSlice (T &cont, size_t begin, size_t end) |
Return a new slice with the given bounds. More... | |
template<typename T > | |
Slice< T * > | Exiv2::makeSlice (T *ptr, size_t begin, size_t end) |
template<typename container > | |
Slice< container > | Exiv2::makeSlice (container &cont) |
Return a new slice spanning the whole container. | |
template<typename container > | |
Slice< container > | Exiv2::makeSliceFrom (container &cont, size_t begin) |
Return a new slice spanning from begin until the end of the container. | |
template<typename container > | |
Slice< container > | Exiv2::makeSliceUntil (container &cont, size_t end) |
Return a new slice spanning until end . | |
template<typename T > | |
Slice< T * > | Exiv2::makeSliceUntil (T *ptr, size_t end) |
Simple implementation of slices (=views) for STL containers and C-arrays.