lm::builder::Comparator< Child > Class Template Reference

#include <sort.hh>

Inheritance diagram for lm::builder::Comparator< Child >:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Comparator (std::size_t order)
bool operator() (const void *lhs, const void *rhs) const
std::size_t Order () const

Protected Attributes

std::size_t order_


Detailed Description

template<class Child>
class lm::builder::Comparator< Child >

Definition at line 17 of file sort.hh.


Constructor & Destructor Documentation

template<class Child>
lm::builder::Comparator< Child >::Comparator ( std::size_t  order  )  [inline, explicit]

Definition at line 19 of file sort.hh.


Member Function Documentation

template<class Child>
bool lm::builder::Comparator< Child >::operator() ( const void *  lhs,
const void *  rhs 
) const [inline]

Definition at line 21 of file sort.hh.

template<class Child>
std::size_t lm::builder::Comparator< Child >::Order (  )  const [inline]

Definition at line 25 of file sort.hh.

Referenced by lm::builder::AddCombiner::operator()().

Here is the caller graph for this function:


Member Data Documentation

template<class Child>
std::size_t lm::builder::Comparator< Child >::order_ [protected]

Definition at line 28 of file sort.hh.

Referenced by lm::builder::Comparator< SuffixOrder >::Order().


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

Generated on Thu Jun 4 00:31:47 2015 for Moses by  doxygen 1.5.9