path_compare_env Struct Template Reference
[File System Library]

#include <winstl/filesystem/functionals.hpp>

List of all members.


Detailed Description

template<typename C, typename A1 = C const*, typename A2 = C const*>
struct winstl::path_compare_env< C, A1, A2 >

Binary predicate object that compares two file-system paths, after expanding environment variables in the compared path strings.

Note:
Does not expand environment variables in the argument passed to the function call operator
Parameters:
C The character type
A1 The left-hand argument type; defaults to C const*
A2 The right-hand argument type; defaults to C const*

Member Types

typedef C char_type
 The character type.
typedef
parent_class_type::first_argument_type 
first_argument_type
 The first argument type.
typedef
parent_class_type::second_argument_type 
second_argument_type
 The second argument type.
typedef
parent_class_type::result_type 
result_type
 The result type.
typedef path_compare_env< C,
A1, A2 > 
class_type
 The current parameterisation of the type.

Public Member Functions

Operations
template<typename T1, typename T2>
result_type operator() (T1 const &s1, T2 const &s2) const
 Function call, compares s1 with s2.

Member Typedef Documentation

typedef C char_type

The character type.

typedef parent_class_type::first_argument_type first_argument_type

The first argument type.

typedef parent_class_type::second_argument_type second_argument_type

The second argument type.

typedef parent_class_type::result_type result_type

The result type.

typedef path_compare_env<C, A1, A2> class_type

The current parameterisation of the type.


Member Function Documentation

result_type operator() ( T1 const &  s1,
T2 const &  s2 
) const [inline]

Function call, compares s1 with s2.

Note:
The comparison is determined by evaluation the full-paths of both s1 and s2

References stlsoft_ns_qual.


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