View Issue Details

IDProjectCategoryView StatusLast Update
0023232CommunityOCCT:Foundation Classespublic2017-01-13 19:26
Reportereryar Assigned Toabv 
PrioritynormalSeverityminor 
Status newResolutionopen 
PlatformWindowsOSVC++ 2010 
Product Version6.5.0 
Summary0023232: A Return Value of the UnitsAPI Check method
DescriptionThe 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.
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2012-06-29 15:35 eryar New Issue
2012-06-29 15:35 eryar Assigned To => abv
2017-01-13 19:26 kgv Description Updated