Bridge++  Ver. 2.0.2
Sorter< T >::proxy Struct Reference

proxy object to pass to stl sort algorithm More...

#include <sorter_alt.h>

Public Member Functions

 proxy (const Sorter::by_order &order)
 
bool operator() (const double lhs, const double rhs) const
 
bool operator() (const pair_t &lhs, const pair_t &rhs) const
 
 proxy (const Sorter::by_order &order)
 
bool operator() (const T &lhs, const T &rhs) const
 
bool operator() (const pair_t &lhs, const pair_t &rhs) const
 

Private Attributes

const Sorter::by_orderm_order
 

Detailed Description

template<typename T>
struct Sorter< T >::proxy

proxy object to pass to stl sort algorithm

Definition at line 77 of file sorter.cpp.

Constructor & Destructor Documentation

◆ proxy() [1/2]

template<typename T >
Sorter< T >::proxy::proxy ( const Sorter::by_order order)
inline

Definition at line 83 of file sorter.cpp.

◆ proxy() [2/2]

template<typename T >
Sorter< T >::proxy::proxy ( const Sorter::by_order order)
inline

Definition at line 159 of file sorter_alt.h.

Member Function Documentation

◆ operator()() [1/4]

template<typename T >
bool Sorter< T >::proxy::operator() ( const double  lhs,
const double  rhs 
) const
inline

Definition at line 85 of file sorter.cpp.

◆ operator()() [2/4]

template<typename T >
bool Sorter< T >::proxy::operator() ( const pair_t lhs,
const pair_t rhs 
) const
inline

Definition at line 90 of file sorter.cpp.

◆ operator()() [3/4]

template<typename T >
bool Sorter< T >::proxy::operator() ( const pair_t lhs,
const pair_t rhs 
) const
inline

Definition at line 166 of file sorter_alt.h.

◆ operator()() [4/4]

template<typename T >
bool Sorter< T >::proxy::operator() ( const T &  lhs,
const T &  rhs 
) const
inline

Definition at line 161 of file sorter_alt.h.

Member Data Documentation

◆ m_order

template<typename T >
const Sorter::by_order & Sorter< T >::proxy::m_order
private

Definition at line 80 of file sorter.cpp.


The documentation for this struct was generated from the following files: