funcaux.h

Ir a la documentación de este archivo.
00001 /***************************************************************************
00002                           funcaux.h  -  description
00003                              -------------------
00004     begin                : Fri Jan 24 2003
00005     copyright            : (C) 2003 by Tomeu Borrás Riera
00006     email                : tborras@conetxia.com
00007  ***************************************************************************/
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00024 #ifndef FUNCAUX_H
00025 #define FUNCAUX_H
00026 
00027 #include <qdatetime.h>
00028 #include <stdio.h>
00029 #include <sstream>
00030 #include <string>
00031 using std::string;
00032 #include <math.h>
00033 #include <qstring.h>
00034 
00035 
00037 string extiendecodigo (string , unsigned int );
00039 QString extiendecodigo (QString, unsigned int);
00041 float fround(float, unsigned);
00043 int roundI(double);
00045 QDate normalizafecha(QString);
00047 QString XMLProtect( const QString& );
00049 QString ajustacodigo( QString, unsigned int);
00050 
00051 template <typename T>
00052 std::string Ttos(T arg) {
00053    std::ostringstream buffer;
00054    buffer << arg; // send to the ostringstream
00055    return buffer.str(); // capture the string
00056 }// end Ttos
00057 
00058 #endif
00059 

Generado el Sat May 21 00:04:44 2005 para BulmaGes por  doxygen 1.4.2