GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
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 41 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 85 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 156 of file ami_sort.h.