/usr/include/xqilla/utils/XStr.hpp is in libxqilla-dev 2.3.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #ifndef _XSTR_HPP
#define _XSTR_HPP
#include <xqilla/framework/XQillaExport.hpp>
#include <xercesc/util/XercesDefs.hpp>
#include <xercesc/framework/MemoryManager.hpp>
// From Xerces 2.0
class XQILLA_API XStr
{
public :
XStr(const char* const toTranscode, XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *mm = 0);
~XStr();
const XMLCh *str() const
{
return str_;
}
XMLCh *adopt()
{
XMLCh *result = (XMLCh*)str_;
str_ = 0;
return result;
}
private :
XMLCh *str_;
XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *mm_;
};
#define X(strg) XStr(strg).str()
#endif
|