12#ifndef ARCANE_DOMUTILS_H
13#define ARCANE_DOMUTILS_H
17#include "arcane/Dom.h"
29ARCANE_BEGIN_NAMESPACE_DOMUTILS
37extern "C++" ARCANE_DEPRECATED_260 ARCANE_CORE_EXPORT String
38textValue(
const dom::Node& node);
41extern "C++" ARCANE_DEPRECATED_260 ARCANE_CORE_EXPORT
void
42textValue(dom::Node& node,
const String& new_value);
44extern "C++" ARCANE_CORE_EXPORT String
45textContent(
const dom::Node& node);
47extern "C++" ARCANE_CORE_EXPORT
void
48textContent(dom::Node& node,
const String& new_value);
50extern "C++" ARCANE_CORE_EXPORT dom::Element
51createElement(
const dom::Node& parent,
const String& name,
const String& value);
53extern "C++" ARCANE_CORE_EXPORT String
54attrValue(
const dom::Node& node,
const String& attr_name);
56extern "C++" ARCANE_CORE_EXPORT
void
57setAttr(
const dom::Element& node,
const String& name,
const String& value);
59extern "C++" ARCANE_CORE_EXPORT dom::Node
60childNode(
const dom::Node& parent,
const String& child_name);
62extern "C++" ARCANE_CORE_EXPORT dom::Node
63nodeFromXPath(
const dom::Node& context_node,
const String& xpath_expr);
65extern "C++" ARCANE_DEPRECATED_260 ARCANE_CORE_EXPORT
bool
66saveDocument(std::ostream& istr,
const dom::Document&,
int indent_level=-1);
68extern "C++" ARCANE_CORE_EXPORT
bool
69saveDocument(ByteArray& bytes,
const dom::Document&,
int indent_level=-1);
71extern "C++" ARCANE_CORE_EXPORT IXmlDocumentHolder*
85 bool operator()()
const {
return !m_current._null(); }
86 void operator++() { _findNextValid(
false); }
87 const dom::Node&
operator*()
const {
return m_current; }
88 const dom::Node* operator->()
const {
return &m_current; }
92 dom::DOMString m_ref_name;
94 void _findNextValid(
bool is_init);
100ARCANE_END_NAMESPACE_DOMUTILS
Chaîne de caractères unicode.
Real2 operator*(Real sca, const Real2Proxy &vec)
Multiplication par un scalaire.
dom::Node nodeFromXPath(const dom::Node &context_node, const String &xpath_expr)
Retourne le noeud correspondant à une expression XPath. Retourne le noeud correspondant à l'expressio...