33 #include <boost/shared_ptr.hpp>
35 #include <rsc/runtime/Printable.h>
36 #include <rsc/runtime/TypeStringTools.h>
40 #include "rsb/rsbexports.h"
45 #define RSB_TYPE_TAG(T) (reinterpret_cast<T*> (0))
52 template<
class WireType>
79 const WireType& wire) = 0;
101 typedef boost::shared_ptr<Converter<WireType> >
Ptr;
114 dataType(dataType), wireSchema(wireSchema) {
128 template<
typename DataType>
130 dataType(rsc::runtime::typeName<DataType>()), wireSchema(wireSchema) {
139 return rsc::runtime::typeName(*
this);
143 stream <<
"wireType = " << rsc::runtime::typeName<WireType>()
145 <<
", dataType = " << this->
dataType;
150 RSB_EXPIMP
template class RSB_EXPORT Converter<std::string>;