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

Method deserialization

Tools/EditorFramework/DataTypeProperty.cpp:13–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11{
12
13 void DataTypeProperty::deserialization(pugi::xml_node _node)
14 {
15 mName = _node.select_single_node("Name").node().child_value();
16 mType = _node.select_single_node("Type").node().child_value();
17 mDefaultValue = _node.select_single_node("Default").node().child_value();
18 mInitialisator = _node.select_single_node("Initialisator").node().child_value();
19 mReadOnly = MyGUI::utility::parseValue<bool>(_node.select_single_node("ReadOnly").node().child_value());
20 mVisible = MyGUI::utility::parseValue<bool>(_node.select_single_node("Visible").node().child_value());
21 mAction = _node.select_single_node("Action").node().child_value();
22 }
23
24 const std::string& DataTypeProperty::getName() const
25 {

Callers

nothing calls this directly

Calls 3

child_valueMethod · 0.45
nodeMethod · 0.45
select_single_nodeMethod · 0.45

Tested by

no test coverage detected