yast2-core
Public Member Functions | Private Attributes | List of all members
YCPCodeCompare Class Reference

#include <YCPCodeCompare.h>

Inheritance diagram for YCPCodeCompare:

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
 

Detailed Description

A function object used by the list builtin "sort (`a, `b, l, ``( a[0] < b[0] ))" Passed to std::sort

Constructor & Destructor Documentation

YCPCodeCompare::YCPCodeCompare ( const YCPValue asym1,
const YCPValue asym2,
const YCPCode aorder 
)
inline

Member Function Documentation

result_type YCPCodeCompare::operator() ( first_argument_type  a,
second_argument_type  b 
)
inline

References YCPElement::isNull(), and ycp2error.

Member Data Documentation

YCPCode YCPCodeCompare::order
private
SymbolEntryPtr YCPCodeCompare::se1
private
SymbolEntryPtr YCPCodeCompare::se2
private

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

Generated on a sunny day for yast2-core by doxygen 1.8.8