GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
ExtendedEltMergeType< T, Key > Class Template Reference

#include <empq.h>

Public Member Functions

 ExtendedEltMergeType ()
 
 ExtendedEltMergeType (T &e, unsigned short bid, unsigned int sid)
 
 ~ExtendedEltMergeType ()
 
void set (T &e, unsigned short bid, unsigned int sid)
 
elt () const
 
unsigned short buffer_id () const
 
unsigned int stream_id () const
 
Key getPriority () const
 

Friends

ostream & operator<< (ostream &s, const ExtendedEltMergeType< T, Key > &elt)
 
int operator< (const ExtendedEltMergeType< T, Key > &e1, const ExtendedEltMergeType< T, Key > &e2)
 
int operator<= (const ExtendedEltMergeType< T, Key > &e1, const ExtendedEltMergeType< T, Key > &e2)
 
int operator> (const ExtendedEltMergeType< T, Key > &e1, const ExtendedEltMergeType< T, Key > &e2)
 
int operator>= (const ExtendedEltMergeType< T, Key > &e1, const ExtendedEltMergeType< T, Key > &e2)
 
int operator!= (const ExtendedEltMergeType< T, Key > &e1, const ExtendedEltMergeType< T, Key > &e2)
 
int operator== (const ExtendedEltMergeType< T, Key > &e1, const ExtendedEltMergeType< T, Key > &e2)
 

Detailed Description

template<class T, class Key>
class ExtendedEltMergeType< T, Key >

Definition at line 57 of file empq.h.

Constructor & Destructor Documentation

◆ ExtendedEltMergeType() [1/2]

template<class T, class Key>
ExtendedEltMergeType< T, Key >::ExtendedEltMergeType ( )
inline

Definition at line 74 of file empq_impl.h.

◆ ExtendedEltMergeType() [2/2]

template<class T, class Key>
ExtendedEltMergeType< T, Key >::ExtendedEltMergeType ( T &  e,
unsigned short  bid,
unsigned int  sid 
)
inline

Definition at line 76 of file empq_impl.h.

◆ ~ExtendedEltMergeType()

template<class T, class Key>
ExtendedEltMergeType< T, Key >::~ExtendedEltMergeType ( )
inline

Definition at line 79 of file empq_impl.h.

Member Function Documentation

◆ buffer_id()

template<class T, class Key>
unsigned short ExtendedEltMergeType< T, Key >::buffer_id ( ) const
inline

Definition at line 89 of file empq_impl.h.

Referenced by em_pqueue< T, Key >::merge_bufs2pq().

◆ elt()

template<class T, class Key>
T ExtendedEltMergeType< T, Key >::elt ( ) const
inline

Definition at line 86 of file empq_impl.h.

Referenced by em_pqueue< T, Key >::merge_bufs2pq().

◆ getPriority()

template<class T, class Key>
Key ExtendedEltMergeType< T, Key >::getPriority ( ) const
inline

Definition at line 95 of file empq_impl.h.

Referenced by em_pqueue< T, Key >::merge_buffer().

◆ set()

template<class T, class Key>
void ExtendedEltMergeType< T, Key >::set ( T &  e,
unsigned short  bid,
unsigned int  sid 
)
inline

Definition at line 81 of file empq_impl.h.

◆ stream_id()

template<class T, class Key>
unsigned int ExtendedEltMergeType< T, Key >::stream_id ( ) const
inline

Definition at line 92 of file empq_impl.h.

Referenced by em_pqueue< T, Key >::merge_bufs2pq().

Friends And Related Function Documentation

◆ operator!=

template<class T, class Key>
int operator!= ( const ExtendedEltMergeType< T, Key > &  e1,
const ExtendedEltMergeType< T, Key > &  e2 
)
friend

Definition at line 122 of file empq_impl.h.

◆ operator<

template<class T, class Key>
int operator< ( const ExtendedEltMergeType< T, Key > &  e1,
const ExtendedEltMergeType< T, Key > &  e2 
)
friend

Definition at line 106 of file empq_impl.h.

◆ operator<<

template<class T, class Key>
ostream& operator<< ( ostream &  s,
const ExtendedEltMergeType< T, Key > &  elt 
)
friend

Definition at line 99 of file empq_impl.h.

◆ operator<=

template<class T, class Key>
int operator<= ( const ExtendedEltMergeType< T, Key > &  e1,
const ExtendedEltMergeType< T, Key > &  e2 
)
friend

Definition at line 110 of file empq_impl.h.

◆ operator==

template<class T, class Key>
int operator== ( const ExtendedEltMergeType< T, Key > &  e1,
const ExtendedEltMergeType< T, Key > &  e2 
)
friend

Definition at line 126 of file empq_impl.h.

◆ operator>

template<class T, class Key>
int operator> ( const ExtendedEltMergeType< T, Key > &  e1,
const ExtendedEltMergeType< T, Key > &  e2 
)
friend

Definition at line 114 of file empq_impl.h.

◆ operator>=

template<class T, class Key>
int operator>= ( const ExtendedEltMergeType< T, Key > &  e1,
const ExtendedEltMergeType< T, Key > &  e2 
)
friend

Definition at line 118 of file empq_impl.h.


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