Loading...
Searching...
No Matches
ledger::compare_items< T > Class Template Reference

#include <compare.h>

Public Member Functions

 compare_items (const compare_items &other)
 
 compare_items (const expr_t &_sort_order, report_t &_report)
 
void find_sort_values (std::list< sort_value_t > &sort_values, scope_t &scope)
 
bool operator() (account_t *left, account_t *right)
 
bool operator() (post_t *left, post_t *right)
 
bool operator() (T *left, T *right)
 
 ~compare_items () throw ()
 

Detailed Description

template<typename T>
class ledger::compare_items< T >

Definition at line 56 of file compare.h.

Constructor & Destructor Documentation

◆ compare_items() [1/2]

template<typename T >
ledger::compare_items< T >::compare_items ( const expr_t & _sort_order,
report_t & _report )
inline

Definition at line 64 of file compare.h.

References TRACE_CTOR.

◆ compare_items() [2/2]

template<typename T >
ledger::compare_items< T >::compare_items ( const compare_items< T > & other)
inline

Definition at line 68 of file compare.h.

References TRACE_CTOR.

◆ ~compare_items()

template<typename T >
ledger::compare_items< T >::~compare_items ( )
throw ( )
inline

Definition at line 72 of file compare.h.

References TRACE_DTOR.

Member Function Documentation

◆ find_sort_values()

template<typename T >
void ledger::compare_items< T >::find_sort_values ( std::list< sort_value_t > & sort_values,
scope_t & scope )

◆ operator()() [1/3]

◆ operator()() [2/3]

◆ operator()() [3/3]

template<typename T >
bool ledger::compare_items< T >::operator() ( T * left,
T * right )

Definition at line 84 of file compare.h.

References assert, and ledger::sort_value_is_less_than().

+ Here is the call graph for this function:

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