GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
ami_sort.h File Reference
#include "ami_sort_impl.h"
Include dependency graph for ami_sort.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SORT_DEBUG   if(0)
 

Functions

template<class T , class Compare >
AMI_err AMI_sort (AMI_STREAM< T > *instream, AMI_STREAM< T > **outstream, Compare *cmp, int deleteInputStream=0)
 
template<class T , class Compare >
int isSorted (AMI_STREAM< T > *str, Compare cmp)
 

Macro Definition Documentation

◆ SORT_DEBUG

#define SORT_DEBUG   if(0)

Definition at line 42 of file ami_sort.h.

Function Documentation

◆ AMI_sort()

template<class T , class Compare >
AMI_err AMI_sort ( AMI_STREAM< T > *  instream,
AMI_STREAM< T > **  outstream,
Compare *  cmp,
int  deleteInputStream = 0 
)

Definition at line 95 of file ami_sort.h.

Referenced by EMPQueueAdaptive< T, Key >::makeExternal().

◆ isSorted()

template<class T , class Compare >
int isSorted ( AMI_STREAM< T > *  str,
Compare  cmp 
)

Definition at line 170 of file ami_sort.h.