MCPcopy Create free account
hub / github.com/axmolengine/axmol / endElement

Method endElement

core/ui/UIRichText.cpp:1110–1130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1108}
1109
1110void MyXMLVisitor::endElement(void* /*ctx*/, const char* elementName)
1111{
1112 auto it = _tagTables.find(elementName);
1113 if (it != _tagTables.end())
1114 {
1115 auto tagBehavior = it->second;
1116 if (tagBehavior.isFontElement)
1117 {
1118 popBackFontElement();
1119 }
1120
1121 if (tagBehavior.handleVisitExit != nullptr)
1122 {
1123 auto* richElement = tagBehavior.handleVisitExit();
1124 if (richElement)
1125 {
1126 pushBackElement(richElement);
1127 }
1128 }
1129 }
1130}
1131
1132void MyXMLVisitor::textHandler(void* /*ctx*/, const char* str, size_t len)
1133{

Callers 11

doctest.cppFile · 0.45
~ScopedElementMethod · 0.45
test_case_start_implMethod · 0.45
report_queryMethod · 0.45
test_run_endMethod · 0.45
test_case_endMethod · 0.45
subcase_endMethod · 0.45
log_assertMethod · 0.45
log_messageMethod · 0.45
test_case_skippedMethod · 0.45
test_run_endMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 10

~ScopedElementMethod · 0.36
test_case_start_implMethod · 0.36
report_queryMethod · 0.36
test_run_endMethod · 0.36
test_case_endMethod · 0.36
subcase_endMethod · 0.36
log_assertMethod · 0.36
log_messageMethod · 0.36
test_case_skippedMethod · 0.36
test_run_endMethod · 0.36