STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

compare_path Struct Template Reference

Function object that compares two file-system paths. More...

#include <unixstl_functionals.h>

List of all members.

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 compare_path< C > class_type
 The current parameterisation of the type.


Public Methods

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


Detailed Description

template<typename C>
struct unixstl::compare_path< C >

Function object that compares two file-system paths.

Parameters:
C  The character type


Member Typedef Documentation

typedef C char_type
 

The character type.

typedef compare_path<C> class_type
 

The current parameterisation of the type.

typedef parent_class_type::first_argument_type first_argument_type
 

The first argument type.

typedef parent_class_type::result_type result_type
 

The result type.

typedef parent_class_type::second_argument_type second_argument_type
 

The second argument type.

typedef filesystem_traits<C> traits_type
 

The traits type.


Member Function Documentation

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

Function call, compares s1 with s2.

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


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

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004