44 #ifndef DATRW_DATATYPES_H_VERSION 46 #define DATRW_DATATYPES_H_VERSION \ 47 "DATRW_DATATYPES_H V1.0" 66 const std::string& from,
67 const std::string& to);
102 template<
typename from,
typename to>
105 std::string typeid1=::datrw::datatypes::type_id<from>();
106 std::string typeid2=::datrw::datatypes::type_id<to>();
118 template<
typename t1,
typename t2>
122 std::string typeid1=::datrw::datatypes::type_id<t1>();
123 std::string typeid2=::datrw::datatypes::type_id<t2>();
124 retval=(typeid1==typeid2);
132 #endif // DATRW_DATATYPES_H_VERSION (includeguard) void dont_report_type_conversion()
switch off type conversion verbosity
void report_conversion(std::ostream &os)
void report_type_conversion()
switch on type conversion verbosity
std::string type_id< double >()
void print_conversion_report(std::ostream &os, const std::string &from, const std::string &to)
actually print report
Root namespace of library.
std::string type_id< float >()
const char * unknown_type_id
indicate unkown type
bool verbose_type_conversion
std::string type_id< int >()