#include <memory>
#include <string>
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/util/XMLString.hpp>
#include <xercesc/dom/DOM.hpp>
#include "CxxUtils/checker_macros.h"
Go to the source code of this file.
◆ XercesString
◆ fromNative() [1/2]
Definition at line 34 of file xmlUtilities.h.
35 auto xDeleter = [&](XMLCh
buf[]) {
39 std::unique_ptr<XMLCh[], decltype(xDeleter)>
ptr(xercesc::XMLString::transcode(
str), xDeleter);
◆ fromNative() [2/2]
◆ toNative() [1/2]
◆ toNative() [2/2]
std::string toNative |
( |
const XMLCh * |
str | ) |
|
|
inline |
Definition at line 50 of file xmlUtilities.h.
51 auto cDeleter = [&](
char buf[]) {
55 std::unique_ptr<
char[], decltype(cDeleter)>
ptr(xercesc::XMLString::transcode(
str), cDeleter);
57 return std::string(
ptr.get());
◆ ATLAS_NO_CHECK_FILE_THREAD_SAFETY
ATLAS_NO_CHECK_FILE_THREAD_SAFETY |