View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0023232 | Community | OCCT:Foundation Classes | public | 2012-06-29 15:35 | 2017-01-13 19:26 |
| Reporter | eryar | Assigned To | |||
| Priority | normal | Severity | minor | ||
| Status | new | Resolution | open | ||
| Platform | Windows | OS | VC++ 2010 | ||
| Product Version | 6.5.0 | ||||
| Summary | 0023232: A Return Value of the UnitsAPI Check method | ||||
| Description | The UnitsAPI::Check() code in the UnitsAPI.cxx file:
//=======================================================================
//function : Check
//purpose :
//=======================================================================
Standard_Boolean UnitsAPI::Check(const Standard_CString aQuantity,
const Standard_CString /*aUnit*/)
{
Standard_Boolean status = Standard_False;
CheckLoading (UnitsAPI_DEFAULT);
if( CurrentUnits->Find(aQuantity) ) {
TCollection_AsciiString current(CurrentUnits->Value(aQuantity));
// aValue = AnyToAny(aData,current.ToCString(),aUnit);
// aValue = Units::Convert(aValue,aUnit1,aUnit2);
}
return status;
}
//=======================================================================
The return result is always Standard_False. | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||