Main Page   Class Hierarchy   Data Structures   File List   Data Fields  

stockmarketdefines.h

00001 /***************************************************************************
00002                           stockmarketdefines.h  -  description
00003                              -------------------
00004     begin                : Thu Apr 10 2003
00005     copyright            : (C) 2003 by Michael Otto
00006     email                : Michael.Otto@saskathex.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef _STOCKMARKETDEFINES_H_
00019 #define _STOCKMARKETDEFINES_H_
00020 
00021 #include "stockcontainer.h"
00022 
00023 
00024 namespace std {
00025 
00029   template <> struct std::greater<StockContainer *> {
00030 
00036     bool operator()(const StockContainer * x, const StockContainer * y) const {
00037       return *x < *y;
00038     }
00039 
00040   };
00041 
00042 }
00043 
00044 #endif

Generated on Tue May 27 21:24:02 2003 for gstockcalc by doxygen1.3-rc3