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

Method clone

src/common/componentmodel.h:124–127  ·  view source on GitHub ↗

* @brief Creates new node of the same type * @return cloned node */

Source from the content-addressed store, hash-verified

122 * @return cloned node
123 */
124 virtual std::unique_ptr<QtNodes::NodeDataModel> clone() const override
125 {
126 return std::make_unique<Derived>();
127 }
128
129 /**
130 * @brief Possibility to save node properties

Calls

no outgoing calls

Tested by

no test coverage detected