Aller au contenu
Bienvenue sur la nouvelle documentation de CppUtils !
using CppUtils::Language::Xml::TypedFlow< Object, Mapping >::TagHandler = std::function<void(const Container::Tree::VariantNode<Type::Token, std::string>& node, TypedFlow<Object, Mapping>& flow)>;
using CppUtils::Language::Xml::TypedFlow< Object, Mapping >::FormatProcessor = std::function<void(const std::filesystem::path& inputFilePath, const std::filesystem::path& outputFilePath)>;
explicit TypedFlow::TypedFlow(Thread::ThreadPool& threadPool);

auto TypedFlow::registerTagHandler(Type::Token name, TagHandler handler) -> void;

auto TypedFlow::registerFormatProcessor(Type::Token formatToken, FormatProcessor processor) -> void;

auto TypedFlow::dispatchNode(const Container::Tree::VariantNode<Type::Token, std::string>& node) -> void;

auto TypedFlow::dispatchNode(std::string_view xmlSource) -> void;

auto TypedFlow::execute() -> Report override;

auto TypedFlow::startWatching() -> void override;

auto TypedFlow::stopWatching() -> void override;

template <String::Hasher loggerName = "CppUtils">
auto TypedFlow::registerStandardTags() -> void;