From 1c4b434079dec6a97fc14d2bc8974e3c0697ae48 Mon Sep 17 00:00:00 2001 From: Edgar Date: Fri, 15 Jan 2021 10:29:23 +0100 Subject: [PATCH] :wrench: Also dump m_lookup_context to html file --- .gitignore | 3 ++- include/moFileReader.hpp | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e173d13..07e1347 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ cmake-build-*/ \.idea/ docs/ build/ -_build/ \ No newline at end of file +_build/ +*.html diff --git a/include/moFileReader.hpp b/include/moFileReader.hpp index a02ea53..97d56f8 100644 --- a/include/moFileReader.hpp +++ b/include/moFileReader.hpp @@ -635,6 +635,17 @@ class moFileReader } stream << "
" << std::endl; + // Separate tables for each context + for (const auto &it : reader.m_lookup_context) + { + stream << R"(" << std::endl; + for (const auto &its : it.second) + { + stream << "" << std::endl; + } + stream << "
)" << it.first << "
" << its.first << "" << its.second << "

" << std::endl; + } + stream << "" << std::endl; stream << "
File generated by moFileReaderSDK
"