MCPcopy Create free account
hub / github.com/GENIVI/CANdevStudio / save

Method save

src/common/componentmodel.h:133–139  ·  view source on GitHub ↗

* @brief Possibility to save node properties * @return json object */

Source from the content-addressed store, hash-verified

131 * @return json object
132 */
133 virtual QJsonObject save() const override
134 {
135 QJsonObject json = _component.getConfig();
136 json["name"] = name();
137 json["caption"] = caption();
138 return json;
139 }
140
141 /**
142 * @brief Used to restore node configurations

Calls 1

getConfigMethod · 0.45

Tested by

no test coverage detected