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

Method assignBase

UnitTests/UnitTest_GraphView/BaseGraphNode.h:142–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141 template<typename T>
142 void assignBase(T*& _widget, const std::string& _name, bool _throw = true)
143 {
144 BaseLayout::assignBase(_widget, _name, _throw);
145 mListConnection.push_back(_widget);
146 addConnection(_widget);
147 }
148
149 private:
150 void addConnection(BaseGraphConnection* _connection)

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected