11#include "Graph/map_graph.hpp" 
   13#include <boost/fusion/include/mpl.hpp> 
   14#include <boost/fusion/include/for_each.hpp> 
   16#include "util/common.hpp" 
   24template <
typename T> std::string getType()
 
   27    if (std::is_same<T,float>::value)
 
   29    else if (std::is_same<T,double>::value)
 
   31    else if (std::is_same<T,char>::value)
 
   33    else if (std::is_same<T,unsigned char>::value)
 
   34        return "unsigned_char";
 
   35    else if (std::is_same<T,short>::value)
 
   37    else if (std::is_same<T,unsigned short>::value)
 
   38        return "unsigned_short";
 
   39    else if (std::is_same<T,int>::value)
 
   41    else if (std::is_same<T,unsigned int>::value)
 
   42        return "unsigned_int";
 
   43    else if (std::is_same<T,long int>::value)
 
   45    else if (std::is_same<T,unsigned long int>::value )
 
   46        return "unsigned_int";
 
   47    else if (std::is_same<T,bool>::value )
 
   61template <
typename T> std::string getTypeNew()
 
   64    if (std::is_same<T,float>::value)
 
   66    else if (std::is_same<T,double>::value)
 
   68    else if (std::is_same<T,char>::value)
 
   70    else if (std::is_same<T,unsigned char>::value)
 
   72    else if (std::is_same<T,short>::value)
 
   74    else if (std::is_same<T,unsigned short>::value)
 
   76    else if (std::is_same<T,int>::value)
 
   78    else if (std::is_same<T,unsigned int>::value)
 
   80    else if (std::is_same<T,long int>::value)
 
   82    else if (std::is_same<T,unsigned long int>::value )
 
   84    else if (std::is_same<T,bool>::value )
 
  103    template<
typename B> 
static B to(
const A & data)
 
  105        return static_cast<B
>(data);
 
  118    template<
typename B> 
static B to(
const std::string & data)
 
  120        return atof(data.c_str());
 
  136#define VECTOR_GRIDS 3 
  137#define VECTOR_ST_GRIDS 4 
  139#define VECTOR_POINTS 6 
  140#define VTK_WRITER 0x10000 
  141#define FORMAT_ASCII 0x0 
  142#define FORMAT_BINARY 0x10000000 
  145template <
typename Object, 
unsigned int imp>
 
  151#include "VTKWriter_graph.hpp" 
  152#include "VTKWriter_vector_box.hpp" 
  153#include "VTKWriter_grids.hpp" 
  154#include "VTKWriter_grids_st.hpp" 
  158#ifndef DISABLE_MPI_WRITTERS 
  159#include "VTKWriter_dist_graph.hpp" 
  162#include "VTKWriter_point_set.hpp" 
Set a conversion map between A and B.