MCPcopy Create free account
hub / github.com/MyGUI/mygui / getValueName

Method getValueName

MyGUIEngine/include/MyGUI_XmlDocument.h:87–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86 private:
87 std::string_view getValueName(int _index) const
88 {
89 if (_index < 0 || _index >= MAX)
90 return {};
91 static const std::string_view values[MAX] = {
92 "Failed to open XML file",
93 "Failed to create XML file",
94 "XML file contain incorrect content",
95 "XML file contain not closed elements",
96 "XML file without declaration",
97 "XML file contain closed but not opened element",
98 "XML file contain inconsistent elements",
99 "XML file contain more than one declaration",
100 "XML file contain more than one root element",
101 "XML file contain incorrect attribute"};
102 return values[_index];
103 }
104
105 private:
106 Enum mValue;

Callers 10

parseFunction · 0.80
parseFunction · 0.80
parseFunction · 0.80
parseFunction · 0.80
parseFunction · 0.80
MyGUI_LogLevel.hFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected