6 #ifndef OPENDDS_DCPS_SECURITY_ACCESS_CONTROL_XML_UTILS_H 7 #define OPENDDS_DCPS_SECURITY_ACCESS_CONTROL_XML_UTILS_H 16 #include <ace/XML_Utils/XercesString.h> 18 #include <xercesc/dom/DOM.hpp> 19 #include <xercesc/util/XMLDateTime.hpp> 20 #include <xercesc/parsers/XercesDOMParser.hpp> 21 #include <xercesc/sax/SAXParseException.hpp> 35 bool get_parser(ParserPtr& parser,
const std::string& filename,
const std::string& xml);
47 std::string
to_string(
const xercesc::SAXParseException& ex);
49 inline std::string
to_string(
const xercesc::XMLException& ex)
54 inline std::string
to_string(
const xercesc::DOMException& ex)
59 inline std::string
to_string(
const xercesc::DOMNode* node)
83 return node->getNodeType() == xercesc::DOMNode::ELEMENT_NODE;
bool parse_domain_id_set(const xercesc::DOMNode *node, Security::DomainIdSet &domain_id_set)
const LogLevel::Value value
DCPS::unique_ptr< xercesc::XercesDOMParser > ParserPtr
bool is_element(const xercesc::DOMNode *node)
#define OpenDDS_Security_Export
bool parse_bool(const XMLCh *in, bool &value)
bool get_parser(ParserPtr &parser, const std::string &filename, const std::string &xml)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
bool parse_time(const XMLCh *in, time_t &value)
std::string to_string(const xercesc::SAXParseException &ex)
The Internal API and Implementation of OpenDDS.