MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / DeleteNode

Method DeleteNode

ReClass/CNodeBase.h:143–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142 inline void SetNode( size_t idx, CNodeBase* newNode ) { m_ChildNodes[idx] = newNode; }
143 inline void DeleteNode( size_t idx ) { if (m_ChildNodes[idx]) { delete(m_ChildNodes[idx]); RemoveNode( idx ); } }
144 inline void RemoveNode( size_t idx ) { m_ChildNodes.erase( m_ChildNodes.begin( ) + idx ); }
145 inline size_t NodeCount( ) const { return m_ChildNodes.size( ); }
146

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected