path_contains_file Struct Template Reference
[File System Library]

#include <winstl/filesystem/functionals.hpp>

List of all members.


Detailed Description

template<typename C, typename A = C const*>
struct winstl::path_contains_file< C, A >

Unary predicate that searches for the existance of a given file in the directory presented in its function call argument.

Parameters:
C The character type
A The argument type; defaults to C const*
Note:
The file-name passed to the constructor is retained as a pointer, rather than an instance of a string class. Consequently, the behaviour is undefined if the memory pointed to by the constructor argument does not persist for the lifetime of the function object.

Member Types

typedef C char_type
 The character type.
typedef A argument_type
 The argument type.
typedef path_contains_file< C, A > class_type
 The current parameterisation of the type.

Public Member Functions

Construction
 path_contains_file (char_type const *file)
Operations
template<typename S>
bool operator() (S const &s) const

Member Typedef Documentation

typedef C char_type

The character type.

typedef A argument_type

The argument type.

The current parameterisation of the type.


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

Generated on Thu Jun 10 08:59:24 2010 for STLSoft by  doxygen 1.5.6