#include <YCPCodeCompare.h>
Public Member Functions | |
| YCPCodeCompare (const YCPValue &asym1, const YCPValue &asym2, const YCPCode &aorder) | |
| result_type | operator() (first_argument_type a, second_argument_type b) |
Private Attributes | |
| SymbolEntryPtr | se1 |
| SymbolEntryPtr | se2 |
| YCPCode | order |
A function object used by the list builtin "sort (`a, `b, l, ``( a[0] < b[0] ))" Passed to std::sort
| YCPCodeCompare::YCPCodeCompare | ( | const YCPValue & | asym1, | |
| const YCPValue & | asym2, | |||
| const YCPCode & | aorder | |||
| ) | [inline] |
| result_type YCPCodeCompare::operator() | ( | first_argument_type | a, | |
| second_argument_type | b | |||
| ) | [inline] |
References YCPElement::isNull(), order, se1, se2, and ycp2error.
YCPCode YCPCodeCompare::order [private] |
Referenced by operator()().
SymbolEntryPtr YCPCodeCompare::se1 [private] |
Referenced by operator()().
SymbolEntryPtr YCPCodeCompare::se2 [private] |
Referenced by operator()().
1.6.3