ZoneConnection D_PAD::GetZoneConnection() const { MODULE* module = GetParent(); if( m_ZoneConnection == PAD_ZONE_CONN_INHERITED && module ) return module->GetZoneConnection(); else return m_ZoneConnection; }
ZoneConnection D_PAD::GetZoneConnection() const { MODULE* module = (MODULE*) GetParent(); if( m_ZoneConnection == UNDEFINED_CONNECTION && module ) return module->GetZoneConnection(); else return m_ZoneConnection; }