HDF5Chart.hpp

00001 
00002 //
00003 // $Id: HDF5Chart.hpp,v 1.1 2004/09/30 11:40:14 werner Exp $
00004 //
00005 // $Log: HDF5Chart.hpp,v $
00006 // Revision 1.1  2004/09/30 11:40:14  werner
00007 // Towards generic file reading
00008 //
00009 //
00011 #ifndef __FIBER_HDF5CHART_HPP
00012 #define __FIBER_HDF5CHART_HPP "Created 27.02.2001 21:42:27 by werner"
00013 
00014 #include "FBhdf5API.h"
00015 #include "HDF5Saver.hpp"
00016 #include <grid/Chart.hpp>
00017 #include <grid/Grid.hpp>
00018 #include <grid/Representation.hpp>
00019 #include <F5/F5Path.h>
00020 
00021 namespace Fiber
00022 {
00023 
00024 template <>
00025 struct  HDF5Saver<Chart> : Interface<HDF5Saver<Chart> >
00026 {
00027         ChartDomain_IDs *myChart;
00028 
00029         HDF5Saver<Chart>(); 
00030         ~HDF5Saver<Chart>(); 
00031 
00032 static  ChartDomain_IDs*getF5Interface(const RefPtr<Chart>&RChart, const Representation&R);
00033 static  RefPtr<Chart> loadGlobalChart(hid_t global_chart_id, ChartDomain_IDs*FileIDs, const char*char_name, Grid&G);
00034 
00035 };
00036 
00037 
00038 } /* namespace Fiber */ 
00039 
00040 #endif /* __FIBER_HDF5CHART_HPP */