Public Member Functions | Public Attributes | List of all members
vpdl_mixture< T, n >::sort_adaptor< comp_type_ > Class Template Reference

This adaptor allows users to define ordering functors on the components without accessing the components directly. More...

Public Member Functions

 sort_adaptor (comp_type_ c)
 
bool operator() (const component *const c1, const component *const c2) const
 

Public Attributes

comp_type_ comp
 

Detailed Description

template<class T, unsigned int n = 0>
template<class comp_type_>
class vpdl_mixture< T, n >::sort_adaptor< comp_type_ >

This adaptor allows users to define ordering functors on the components without accessing the components directly.

Definition at line 80 of file vpdl_mixture.h.

Constructor & Destructor Documentation

◆ sort_adaptor()

template<class T, unsigned int n = 0>
template<class comp_type_ >
vpdl_mixture< T, n >::sort_adaptor< comp_type_ >::sort_adaptor ( comp_type_  c)
inline

Definition at line 83 of file vpdl_mixture.h.

Member Function Documentation

◆ operator()()

template<class T, unsigned int n = 0>
template<class comp_type_ >
bool vpdl_mixture< T, n >::sort_adaptor< comp_type_ >::operator() ( const component *const  c1,
const component *const  c2 
) const
inline

Definition at line 84 of file vpdl_mixture.h.

Member Data Documentation

◆ comp

template<class T, unsigned int n = 0>
template<class comp_type_ >
comp_type_ vpdl_mixture< T, n >::sort_adaptor< comp_type_ >::comp

Definition at line 86 of file vpdl_mixture.h.


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