zipios++  2.0.2
Zipios++ – a small C++ library that provides easy access to .zip files.
Functions
zipios::anonymous_namespace{collectioncollection.cpp} Namespace Reference

Functions

void matchEntry (CollectionCollection::vector_t collections, std::string const &name, FileEntry::pointer_t &cep, FileCollection::pointer_t &file_collection, CollectionCollection::MatchPath matchpath)
 Seach for an entry. More...
 

Function Documentation

void zipios::anonymous_namespace{collectioncollection.cpp}::matchEntry ( CollectionCollection::vector_t  collections,
std::string const &  name,
FileEntry::pointer_t &  cep,
FileCollection::pointer_t &  file_collection,
CollectionCollection::MatchPath  matchpath 
)

This function searchs for an entry that match the given name. If that entry exists, the it parameter will be pointing to it.

The cep parameter is also set to the object found.

Parameters
[in]collectionsThe collections to search for the specified name.
[in]nameThe name of the entry to search.
[out]cepThe pointer to the entry found.
[out]file_collectionA reference to a smarter pointer where we can save the found file collection.
[in]matchpathHow the name of the entry is compared with name.

Definition at line 58 of file collectioncollection.cpp.

Referenced by zipios::CollectionCollection::getEntry(), and zipios::CollectionCollection::getInputStream().