CombineSort< C1, C2, C3 > Class Template Reference

#include <MatchStore.h>

Collaboration diagram for CombineSort< C1, C2, C3 >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CombineSort ()
bool operator() (const Match *p1, const Match *p2) const

Public Attributes

C1 c1_
C2 c2_
C3 c3_

Detailed Description

template<class C1, class C2, class C3 = SortNull>
class CombineSort< C1, C2, C3 >

Definition at line 425 of file MatchStore.h.


Constructor & Destructor Documentation

template<class C1, class C2, class C3 = SortNull>
CombineSort< C1, C2, C3 >::CombineSort (  )  [inline]

Definition at line 428 of file MatchStore.h.

00428 : c1_(), c2_(), c3_() {}


Member Function Documentation

template<class C1, class C2, class C3 = SortNull>
bool CombineSort< C1, C2, C3 >::operator() ( const Match p1,
const Match p2 
) const [inline]

Definition at line 429 of file MatchStore.h.

References CombineSort< C1, C2, C3 >::c1_, CombineSort< C1, C2, C3 >::c2_, and CombineSort< C1, C2, C3 >::c3_.

00430   {
00431     return (    c1_(p1,p2)
00432              || ( (!c1_(p2,p1)) && c2_(p1,p2) ) 
00433              || ( (!c2_(p2,p1)) && c3_(p1,p2) ) );
00434   }


Member Data Documentation

template<class C1, class C2, class C3 = SortNull>
C1 CombineSort< C1, C2, C3 >::c1_

Definition at line 435 of file MatchStore.h.

Referenced by CombineSort< C1, C2, C3 >::operator()().

template<class C1, class C2, class C3 = SortNull>
C2 CombineSort< C1, C2, C3 >::c2_

Definition at line 436 of file MatchStore.h.

Referenced by CombineSort< C1, C2, C3 >::operator()().

template<class C1, class C2, class C3 = SortNull>
C3 CombineSort< C1, C2, C3 >::c3_

Definition at line 437 of file MatchStore.h.

Referenced by CombineSort< C1, C2, C3 >::operator()().


The documentation for this class was generated from the following file:
Generated on Fri Dec 21 13:15:45 2007 for ssaha by  doxygen 1.5.2