return y;
}
+template<>
+long unsigned int
+locale_convert (string x)
+{
+ long unsigned int y = 0;
+#ifdef LIBCXML_WINDOWS
+ __mingw_sscanf (x.c_str(), "%lud", &y);
+#else
+ sscanf (x.c_str(), "%lud", &y);
+#endif
+ return y;
+}
+
template<>
long long
locale_convert (string x)
return y;
}
+template<>
+long long unsigned
+locale_convert (string x)
+{
+ long long unsigned y = 0;
+#ifdef LIBCXML_WINDOWS
+ __mingw_sscanf (x.c_str(), "%llud", &y);
+#else
+ sscanf (x.c_str(), "%llud", &y);
+#endif
+ return y;
+}
+
template<>
float
locale_convert (string x)
return locale_convert<int> (make_local(v));
}
+template <>
+unsigned int
+cxml::raw_convert (string v)
+{
+ return locale_convert<unsigned int> (make_local(v));
+}
+
template <>
long int
cxml::raw_convert (string v)
return locale_convert<long int> (make_local(v));
}
+template <>
+long unsigned int
+cxml::raw_convert (string v)
+{
+ return locale_convert<long unsigned int> (make_local(v));
+}
+
template <>
long long
cxml::raw_convert (string v)
}
template <>
-unsigned int
+long long unsigned
cxml::raw_convert (string v)
{
- return locale_convert<unsigned int> (make_local(v));
+ return locale_convert<long long unsigned> (make_local(v));
}
template <>
long int
raw_convert (std::string v);
+template <>
+long unsigned int
+raw_convert (std::string v);
+
template <>
long long
raw_convert (std::string v);
+template <>
+long long unsigned
+raw_convert (std::string v);
+
template <>
float
raw_convert (std::string v);