path_compare Struct Template Reference
[File System Library]

#include <inetstl/filesystem/functionals.hpp>

List of all members.


Detailed Description

template<typename C, typename A1 = C const*, typename A2 = C const*>
struct inetstl::path_compare< C, A1, A2 >

A function class that compares two file-system paths.

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*

Public 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 filesystem_traits< C > traits_type
 The traits type.
typedef path_compare< C, A1, A2 > class_type
 The current parameterisation of the type.

Public Member Functions

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.

The traits type.

typedef path_compare<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 inetstl::c_str_ptr(), and stlsoft_ns_qual.


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

Generated on Thu Jun 10 08:58:28 2010 for STLSoft by  doxygen 1.5.6