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> 12 #ifdef XERCES_CPP_NAMESPACE_USE 19 template <
class CharType>
28 std::unique_ptr<CharType, void (*)(CharType*)>
m_array;
37 inline unsigned int toUInt(XMLCh
const* toTranscode) {
38 std::istringstream iss(
toString(toTranscode));
39 unsigned int returnValue;
44 inline bool toBool(XMLCh
const* toTranscode) {
51 inline double toDouble(XMLCh
const* toTranscode) {
52 std::istringstream iss(
toString(toTranscode));
double toDouble(XMLCh const *toTranscode)
std::string toString(XMLCh const *toTranscode)
ZStr(CharType const *str)
ZStr< char > cStr(XMLCh const *str)
unsigned int toUInt(XMLCh const *toTranscode)
ZStr< XMLCh > uStr(char const *str)
Namespace of DDCMS conversion namespace.
std::unique_ptr< CharType, void(*)(CharType *)> m_array
CharType const * ptr() const
bool toBool(XMLCh const *toTranscode)