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