HDF5Serie

Project Page
/home/user/MBSimWindows/hdf5serie/hdf5serie/hdf5serie/toh5type.h
00001 /* Copyright (C) 2009 Markus Friedrich
00002  *
00003  * This library is free software; you can redistribute it and/or 
00004  * modify it under the terms of the GNU Lesser General Public 
00005  * License as published by the Free Software Foundation; either 
00006  * version 2.1 of the License, or (at your option) any later version. 
00007  *  
00008  * This library is distributed in the hope that it will be useful, 
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
00010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
00011  * Lesser General Public License for more details. 
00012  *  
00013  * You should have received a copy of the GNU Lesser General Public 
00014  * License along with this library; if not, write to the Free Software 
00015  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
00016  *
00017  * Contact:
00018  *   friedrich.at.gc@googlemail.com
00019  *
00020  */
00021 
00022 #ifndef _HDF5SERIE_TOH5TYPE_H_
00023 #define _HDF5SERIE_TOH5TYPE_H_
00024 
00025 
00082 #include <hdf5.h>
00083 #include <string>
00084 
00085 namespace H5 {
00086 
00087 hid_t returnVarLenStrDatatypeID();
00088 
00089 # define FOREACHKNOWNTYPE(CTYPE, H5TYPE) \
00090   hid_t toH5Type(const CTYPE& dummy);
00091 # include "hdf5serie/knowntypes.def"
00092 # undef FOREACHKNOWNTYPE
00093 
00094 }
00095 
00096 #endif