Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

wvsorter.cc

Go to the documentation of this file.
00001 /*
00002  * Worldvisions Weaver Software:
00003  *   Copyright (C) 1997-2002 Net Integration Technologies, Inc.
00004  * 
00005  * An iterator that can sort anything that has an Iter subclass with the
00006  * right member functions.
00007  * 
00008  * See wvsorter.h.
00009  */
00010 #include "wvsorter.h"
00011 
00012 WvLink blank_wvlink(NULL, false, "blank_wvlink");
00013 WvSorterBase::CompareFunc *WvSorterBase::actual_compare;
00014 
00015 int WvSorterBase::magic_compare(const void *_a, const void *_b)
00016 {
00017     WvLink *a = *(WvLink **)_a, *b = *(WvLink **)_b;
00018     return actual_compare(a->data, b->data);
00019 }
00020 
00021 

Generated on Sat Aug 24 21:09:35 2002 for WvStreams by doxygen1.2.15