GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73666
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
merge_key< KEY > Class Template Reference

#include <embuffer.h>

Public Member Functions

 merge_key ()
 
 merge_key (const KEY &x, const unsigned int sid)
 
 ~merge_key ()
 
void set (const KEY &x, const unsigned int sid)
 
KEY key () const
 
unsigned int stream_id () const
 
KEY getPriority () const
 

Data Fields

KEY k
 
unsigned int str_id
 

Friends

ostream & operator<< (ostream &s, const merge_key< KEY > &x)
 
int operator< (const merge_key &x, const merge_key &y)
 
int operator<= (const merge_key &x, const merge_key &y)
 
int operator> (const merge_key &x, const merge_key &y)
 
int operator>= (const merge_key &x, const merge_key &y)
 
int operator!= (const merge_key &x, const merge_key &y)
 
int operator== (const merge_key &x, const merge_key &y)
 
merge_key operator+ (const merge_key &x, const merge_key &y)
 

Detailed Description

template<class KEY>
class merge_key< KEY >

Definition at line 102 of file embuffer.h.

Constructor & Destructor Documentation

template<class KEY>
merge_key< KEY >::merge_key ( )
inline

Definition at line 108 of file embuffer.h.

template<class KEY>
merge_key< KEY >::merge_key ( const KEY &  x,
const unsigned int  sid 
)
inline

Definition at line 110 of file embuffer.h.

template<class KEY>
merge_key< KEY >::~merge_key ( )
inline

Definition at line 113 of file embuffer.h.

Member Function Documentation

template<class KEY>
KEY merge_key< KEY >::getPriority ( ) const
inline

Definition at line 125 of file embuffer.h.

References merge_key< KEY >::k.

template<class KEY>
KEY merge_key< KEY >::key ( ) const
inline

Definition at line 119 of file embuffer.h.

References merge_key< KEY >::k.

template<class KEY>
void merge_key< KEY >::set ( const KEY &  x,
const unsigned int  sid 
)
inline

Definition at line 115 of file embuffer.h.

References merge_key< KEY >::k, merge_key< KEY >::str_id, and x.

template<class KEY>
unsigned int merge_key< KEY >::stream_id ( ) const
inline

Definition at line 122 of file embuffer.h.

References merge_key< KEY >::str_id.

Friends And Related Function Documentation

template<class KEY>
int operator!= ( const merge_key< KEY > &  x,
const merge_key< KEY > &  y 
)
friend

Definition at line 148 of file embuffer.h.

template<class KEY>
merge_key operator+ ( const merge_key< KEY > &  x,
const merge_key< KEY > &  y 
)
friend

Definition at line 156 of file embuffer.h.

template<class KEY>
int operator< ( const merge_key< KEY > &  x,
const merge_key< KEY > &  y 
)
friend

Definition at line 132 of file embuffer.h.

template<class KEY>
ostream& operator<< ( ostream &  s,
const merge_key< KEY > &  x 
)
friend

Definition at line 129 of file embuffer.h.

template<class KEY>
int operator<= ( const merge_key< KEY > &  x,
const merge_key< KEY > &  y 
)
friend

Definition at line 136 of file embuffer.h.

template<class KEY>
int operator== ( const merge_key< KEY > &  x,
const merge_key< KEY > &  y 
)
friend

Definition at line 152 of file embuffer.h.

template<class KEY>
int operator> ( const merge_key< KEY > &  x,
const merge_key< KEY > &  y 
)
friend

Definition at line 140 of file embuffer.h.

template<class KEY>
int operator>= ( const merge_key< KEY > &  x,
const merge_key< KEY > &  y 
)
friend

Definition at line 144 of file embuffer.h.

Field Documentation

template<class KEY>
KEY merge_key< KEY >::k
template<class KEY>
unsigned int merge_key< KEY >::str_id

Definition at line 105 of file embuffer.h.

Referenced by merge_key< KEY >::set(), and merge_key< KEY >::stream_id().


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