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

Method SetNode

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

Source from the content-addressed store, hash-verified

140 return (found != m_ChildNodes.end( )) ? (int)(found - m_ChildNodes.begin( )) : -1;
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( ); }

Callers 1

ReplaceNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected