🔧 Also dump m_lookup_context to html file
This commit is contained in:
parent
5e18461c9e
commit
1c4b434079
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ cmake-build-*/
|
||||
docs/
|
||||
build/
|
||||
_build/
|
||||
*.html
|
||||
|
@ -635,6 +635,17 @@ class moFileReader
|
||||
}
|
||||
stream << "</table><br/>" << std::endl;
|
||||
|
||||
// Separate tables for each context
|
||||
for (const auto &it : reader.m_lookup_context)
|
||||
{
|
||||
stream << R"(<table border="1"><th colspan="2">)" << it.first << "</th>" << std::endl;
|
||||
for (const auto &its : it.second)
|
||||
{
|
||||
stream << "<tr><td>" << its.first << "</td><td>" << its.second << "</td></tr>" << std::endl;
|
||||
}
|
||||
stream << "</table><br/>" << std::endl;
|
||||
}
|
||||
|
||||
stream << "</center>" << std::endl;
|
||||
stream << "<div class=\"copyleft\">File generated by <a href=\"https://github.com/AnotherFoxGuy/MofileReader\" "
|
||||
"target=\"_blank\">moFileReaderSDK</a></div>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user