DATRW++ library: seismic data I/O with multiple formats

◆ report_conversion()

template<typename from , typename to >
void datrw::report_conversion ( std::ostream &  os)
inline

call this function template to report a type conversion

Parameters
fromtype of source
totype of destination
osC++ output stream to write to

Definition at line 103 of file datatypes.h.

References datrw::datatypes::print_conversion_report().

104  {
105  std::string typeid1=::datrw::datatypes::type_id<from>();
106  std::string typeid2=::datrw::datatypes::type_id<to>();
107  ::datrw::datatypes::print_conversion_report(os, typeid1, typeid2);
108  } // void report_conversion(std::ostream& os)
void print_conversion_report(std::ostream &os, const std::string &from, const std::string &to)
actually print report
Definition: datatypes.cc:47
Here is the call graph for this function: