| zipios 2.3.4
    Zipios -- a small C++ library providing easy access to .zip files. | 
Class object used with the std::find_if() function. More...
| Public Member Functions | |
| MatchName (std::string const &name) | |
| Initialize a MatchName object. | |
| bool | operator() (FileEntry::pointer_t entry) const | 
| Compare an entry to this MatchName. | |
| Private Attributes | |
| std::string const | m_name | 
This function object is used with the STL find_if algorithm to find a FileEntry in a container, which name (as obtained with FileEntry::getName()) is identical to the name specified in the MatchName constructor.
Definition at line 60 of file filecollection.cpp.
| 
 | inlineexplicit | 
This function saves the name to search in the FileCollection.
This class expect the name to be a full path and file name with extension. The full name has to match.
| [in] | name | The name of the file being searched. | 
Definition at line 72 of file filecollection.cpp.
| 
 | inline | 
This function compares the full name of the entry with the saved full name. If equal, then it returns true. It is used with the std::find_if() function.
| [in] | entry | The entry to compare with the MatchName. | 
Definition at line 90 of file filecollection.cpp.
| 
 | private | 
Definition at line 96 of file filecollection.cpp.