zipios++
2.0.2
Zipios++ – a small C++ library that provides easy access to .zip files.
|
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... | |
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.
[in] | collections | The collections to search for the specified name. |
[in] | name | The name of the entry to search. |
[out] | cep | The pointer to the entry found. |
[out] | file_collection | A reference to a smarter pointer where we can save the found file collection. |
[in] | matchpath | How 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().