ProcUnit::GetTotalJudge
Gets the overall judgement result
Parameters
None.
Return Value
Returns the overall judgement result. The following values are returned.
Judged as OK: 1 (JUDGE_OK)
Judged as NG: -1 (JUDGE_NG)
Unmeasured: 0 (JUDGE_NC)
Description
Gets the overall judgement result.
When this method is called during the measurement processing, the result is the OR among the judgement results obtained up to the relevant processing unit.
When this method is called during the measurement processing of a processing unit, whether or not the judgement of the processing unit is reflected depends on whether the judgement result is already set by SetUnitJudge() method (see "
ProcUnit::SetUnitJudge").
Example
int Sample::MeasureProc(ProcUnit *ptrProcUnit)
{
int totalJudge;
// Get the overall judgement result
totalJudge = ptrProcUnit->GetTotalJudge();
}