Namespace: CppUtils::Language::Xml
template <class Object, class Mapping, String::Hasher loggerName = "CppUtils">
auto buildFlow(const Container::Tree::VariantNode<Type::Token, std::string>& node, Thread::ThreadPool& threadPool) -> TypedFlow<Object, Mapping>;
template <class Object, class Mapping, String::Hasher loggerName = "CppUtils">
auto buildFlow(std::string_view xmlSource, Thread::ThreadPool& threadPool) -> TypedFlow<Object, Mapping>;
template <class Object, class Mapping, String::Hasher loggerName = "CppUtils">
auto executeFlow(const Container::Tree::VariantNode<Type::Token, std::string>& node, Thread::ThreadPool& threadPool) -> void;
template <class Object, class Mapping, String::Hasher loggerName = "CppUtils">
auto executeFlow(std::string_view xmlSource, Thread::ThreadPool& threadPool) -> void;
template <class Object, class Mapping, String::Hasher loggerName = "CppUtils">
auto buildPipeline(const Container::Tree::VariantNode<Type::Token, std::string>& node) -> Pipeline<Object>;
template <class Object, class Mapping, String::Hasher loggerName = "CppUtils">
auto buildPipeline(std::string_view xmlSource) -> Pipeline<Object>;
auto escapeXml(std::string_view text) -> std::string;
Escapes reserved XML characters (&, <, >, ", `).
| Parameter | Description |
|---|
text | Raw input text. |
Returns: XML-escaped string.
auto parse(std::string_view src) -> Container::Tree::VariantNode<Type::Token, std::string>;