Title / Description
Code HRESULT CmrCaAnalysisComponent::CheckOstiaOutput( ) { RET_IF_FALSE(m_output_full_auto_left_ostia_model_proxy.IsValid()) RET_IF_FALSE(m_output_full_auto_right_ostia_model_proxy.IsValid()) RET_IF_FALSE(m_engine_error_code_model_proxy.IsValid()) int left_ostia_array_size = 0; RET_IF_FAILED(m_output_full_auto_left_ostia_model_proxy->GetSize(&left_ostia_array_size)) int right_ostia_array_size = 0; RET_IF_FAILED(m_output_full_auto_right_ostia_model_proxy->GetSize(&right_ostia_array_size)) if(left_ostia_array_size <=0 && right_ostia_array_size <= 0) { RET_IF_FAILED(ShutDownEngine()) RET_IF_FAILED(m_engine_error_code_model_proxy->SetValue(FULL_AUTO_FIND_OSTIA_FAILED)) RET_IF_FAILED(SetStateForAnalysisComponentBatchJobModel(e_batch_job_aborted)) return E_FAIL; } return S_OK; }
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code