Go to the documentation of this file. 1 #ifndef UTILITIES_XERCES_STRING_UTILS_H
2 #define UTILITIES_XERCES_STRING_UTILS_H
4 #include <xercesc/util/XercesDefs.hpp>
5 #include <xercesc/util/XMLString.hpp>
9 #ifdef XERCES_CPP_NAMESPACE_USE
18 template <
class CharType>
36 inline unsigned int toUInt(XMLCh
const* toTranscode) {
37 std::istringstream iss(
toString(toTranscode));
38 unsigned int returnValue;
43 inline bool toBool(XMLCh
const* toTranscode) {
50 inline double toDouble(XMLCh
const* toTranscode) {
51 std::istringstream iss(
toString(toTranscode));
ZStr(CharType const *str)
ZStr< char > cStr(XMLCh const *str)
std::string toString(XMLCh const *toTranscode)
CharType const * ptr() const
double toDouble(XMLCh const *toTranscode)
unsigned int toUInt(XMLCh const *toTranscode)
ZStr< XMLCh > uStr(char const *str)
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
std::unique_ptr< CharType, void(*)(CharType *)> m_array
TEMPL(T2) struct Divides void
bool toBool(XMLCh const *toTranscode)
Namespace of DDCMS conversion namespace.