GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-f63024f571
ExtendedEltMergeType< T, Key > Class Template Reference

#include <empq_impl.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 66 of file empq_impl.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.

References x.

◆ ~ExtendedEltMergeType()

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

Definition at line 81 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 90 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 89 of file empq_impl.h.

References x.

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

◆ getPriority()

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

Definition at line 92 of file empq_impl.h.

References x.

◆ set()

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

Definition at line 83 of file empq_impl.h.

References x.

◆ stream_id()

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

Definition at line 91 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 121 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 101 of file empq_impl.h.

◆ operator<<

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

Definition at line 94 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 >
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 111 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 116 of file empq_impl.h.


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