lestes::lang::cplus::sem::ss_function_comparator Class Reference

Comparator for ss_function. More...

#include <ss_type.hh>

List of all members.

Public Member Functions

bool operator() (const ptr< ss_function > &left, const ptr< ss_function > &right) const
 Compares two objects with less_than method.
 ss_function_comparator (void)
 Creates the object.


Detailed Description

Comparator for ss_function.

Provides comparator functional for ss_function objects.

Definition at line 52 of file ss_type.hh.


Constructor & Destructor Documentation

lestes::lang::cplus::sem::ss_function_comparator::ss_function_comparator ( void   ) 

Creates the object.

Creates the comparator.

Definition at line 473 of file ss_type.cc.

00474 {
00475 }


Member Function Documentation

bool lestes::lang::cplus::sem::ss_function_comparator::operator() ( const ptr< ss_function > &  left,
const ptr< ss_function > &  right 
) const

Compares two objects with less_than method.

Compares two ss_function object with less_than method.

Precondition:
left != NULL

right != NULL

Parameters:
left The left argument for the comparison.
right The right argument for the comparison.
Returns:
The result of call of left->less_than(right).

Definition at line 464 of file ss_type.cc.

References lassert.

00465 {
00466         lassert(left && right);
00467         return left->less_than(right);
00468 }


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:25:32 2007 for lestes by doxygen 1.5.1-20070107