GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-5c00b4e944
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.


#define SORT_DEBUG   if(0)


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


#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.