00001 #ifndef __PHASER_JIFFY__
00002 #define __PHASER_JIFFY__
00003
00004 #include <sstream>
00005 #include <string>
00006
00007 #include "phaser_types.hh"
00008
00009 using namespace phaser;
00010
00011 namespace phaser_io {
00012
00013 std::string dtos(const float&);
00014 std::string dtos(const double&);
00015 std::string dvtos(const scitbx::vec3<float>&);
00016 std::string dvtos(const scitbx::vec3<double>&);
00017 std::string ivtos(const scitbx::vec3<int>&);
00018 std::string dmtos(const scitbx::mat3<float>&);
00019 std::string dmtos(const scitbx::mat3<double>&);
00020 std::string imtos(const scitbx::mat3<int>&);
00021 std::string ftos(const float&);
00022 std::string itos(const int&);
00023 std::string itoaniso(const int&);
00024 std::string btos(const bool&);
00025 std::string ctos(const std::complex<float>&);
00026 std::string ctos(const std::complex<double>&);
00027 std::string stoup(const std::string&);
00028 int stod(const std::string&);
00029 std::string stoa(const std::string&);
00030
00031 bool isposi(const double &);
00032 bool isfloat(std::string);
00033
00034
00035 }
00036
00037 #endif
00038