| 3 | #include "CNodeBase.h" |
| 4 | |
| 5 | CNodeBase::CNodeBase( ) : |
| 6 | m_nodeType( nt_base ), |
| 7 | m_pParentNode( nullptr ), |
| 8 | m_Offset( 0 ), |
| 9 | m_strOffset( _T( "0" ) ), |
| 10 | m_bHidden( false ), |
| 11 | m_bSelected( false ) |
| 12 | { |
| 13 | // Optimized |
| 14 | m_LevelsOpen.resize( 32, false ); |
| 15 | m_LevelsOpen[0] = true; |
| 16 | |
| 17 | // This is the class name |
| 18 | m_strName.Format( _T( "N%0.8X" ), g_NodeCreateIndex++ ); |
| 19 | } |
| 20 | |
| 21 | // Incorrect view.address |
| 22 | void CNodeBase::AddHotSpot( const PVIEWINFO View, const CRect& Spot, CString Text, int ID, int Type ) |
nothing calls this directly
no outgoing calls
no test coverage detected