syBR::Settings::removeNonPluginFiles Struct Reference

Structure used to filter a file list and to keep only filenames which look like plugin names. More...

List of all members.

Public Member Functions

bool operator() (FileSystem::DirectoryEntry &file) const
 Unary function used to tell if a file is possibly a plugin file.


Detailed Description

Structure used to filter a file list and to keep only filenames which look like plugin names.

It must be used by calling the remove_if() function of a STL list defined as std::list<FileSystem::DIRENTRY>.


Member Function Documentation

bool syBR::Settings::removeNonPluginFiles::operator() ( FileSystem::DirectoryEntry &  file  )  const [inline]

Unary function used to tell if a file is possibly a plugin file.

Parameters:
file File to be tested
Returns:
One of these:
  • true if it is not a plugin file
  • false otherwise


The documentation for this struct was generated from the following file:

Copyright © 2008 by Sebastien Frippiat
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Last modified Tue Dec 30 17:57:34 2008