zipios::Fi...chFileName(3)

πŸ“¦
version 0.1.5.9+cvs.2007.04.28 Β· 2 versions
, in ubuntu jammy

πŸ’– zipios::FileEntry::MatchFileName β€” Library Functions Manual πŸ’–

okay bestie, so this is a page from the Library Functions Manual, and it's all about one lil' helper inside zipios. buckle up πŸŽ€


✨ NAME ✨

zipios::FileEntry::MatchFileName β€” it's a function object (yes, a functor, she's that girl) made to be used with the STL find_if algorithm. her whole job? find a FileEntry in a container whose name (as obtained with FileEntry::getFileName()) is identical to the name you specified in the MatchName constructor. that's it. that's the gig. πŸ’…


🌸 SYNOPSIS 🌸

#include <fileentry.h>

πŸ¦‹ Public Member Functions

  • MatchFileName(const string &name) β€” the constructor, she takes the name you're hunting for πŸ‘‘
  • bool operator()(const ConstEntryPointer &entry) β€” the actual call operator, returns a bool when you hand her a ConstEntryPointer ✨

πŸ’œ Detailed Description πŸ’œ

Function object to be used with the STL find_if algorithm to find a FileEntry in a container, which name (as obtained with FileEntry::getFileName()) is identical to the name specified in the MatchName constructor. 🫢

fr fr, that's the whole vibe: you got a container full of entries, you got a name, and this functor is the vibe check that tells find_if which one matches. no cap.

bestie heads up: she's defined at line 195 of the file fileentry.h. πŸ“

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for Zipios++ from the source code. so like, nobody hand-wrote this cutie, the robot did it and honestly? she ate. 😭


okay that's the whole page, mwah πŸ’– this was Zipios++, dated Tue Mar 24 2020, and the page you're reading is zipios::Fi...chFileName(3) β€” go forth and find_if, bestie πŸŒˆβ­πŸ“

πŸ“¦ where this page comes from