stlab.adobe.com Adobe Systems Incorporated

Object Member Comparsion
[Functional]

Classes

class  compare_members_t< T, R, Compare >
 Utility class for adobe::compare_members. More...

Functions

template<class T , typename R >
compare_members_t< T, R,
std::less< R > > 
compare_members (R T::*member)
template<class T , typename R , class Compare >
compare_members_t< T, R, Compare > compare_members (R T::*member, Compare compare)

Detailed Description

The library provides basic function object classes for comparing two member variables between object instances.


Function Documentation

adobe::compare_members_t< T, R, std::less< R > > compare_members ( R T::*  member )

Used to compare members in two objects of type T using std::less<R>.

Parameters:
memberName of the member to compare.
Returns:
An adobe::compare_members_t which can be used to make the comparison.

Definition at line 379 of file functional.hpp.

adobe::compare_members_t< T, R, Compare > compare_members ( R T::*  member,
Compare  compare 
)

Used to compare members in two objects of type T using a provided comparsion function object.

Parameters:
memberName of the member to compare.
compareConvertibleToFunction object used for comparing the instance members.
Returns:
An adobe::compare_members_t which can be used to make the comparison.

Definition at line 385 of file functional.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google