Ordering predicate, based on attribute values associated with records. More...
#include <record_ordering.hpp>
Public Types | |
typedef bool | result_type |
Result type. More... | |
typedef ValueT | value_type |
Compared attribute value type. More... | |
Public Member Functions | |
attribute_value_ordering (attribute_name const &name, FunT const &fun=FunT()) | |
Initializing constructor. More... | |
result_type | operator() (record_view const &left, record_view const &right) const |
Ordering operator. More... | |
Friends | |
struct | l1_visitor |
Ordering predicate, based on attribute values associated with records.
This predicate allows to order log records based on values of a specifically named attribute associated with them. Two given log records being compared should both have the specified attribute value of the specified type to be able to be ordered properly. As a special case, if neither of the records have the value, these records are considered equivalent. Otherwise, the ordering results are unspecified.
typedef bool boost::attribute_value_ordering< ValueT, FunT >::result_type |
Result type.
typedef ValueT boost::attribute_value_ordering< ValueT, FunT >::value_type |
Compared attribute value type.
|
inlineexplicit |
Initializing constructor.
name | The attribute value name to be compared |
fun | The ordering functor |
|
inline |
Ordering operator.
References boost::attribute_value_ordering< ValueT, FunT >::l1_visitor, and boost::icl::right().
|
friend |