if (Utilities::DateUtility::ConvertDateStringToOsaTime(cellRHS.cellText,…
Jump to turn (7)
- 1if (Utilities::DateUtility::ConvertDateStringToOsaTime(cellRHS.cellText, thisPtr
- 2483 guiComponent = new ResolvePatient;==== Use smart pointers instead of "new" a
- 3void ResolvePatientView::UpdateScheduleExam(const GUIADMIROWSTRUCT& patExamData)
- 4Prefer uniqueptr over sharedptr unless you need to share ownership Rule: Philips
- 5std::sharedptr ResolvePatUIPtr = nullptr;
- 6how to check if its being shared?
- 7is there any other way thta i can manually identify?
- User
if (Utilities::DateUtility::ConvertDateStringToOsaTime(cellRHS.cellText, thisPtr->GuiDataModelPtr->Admi.Setup.DateFormat, thisPtr->GuiDataModelPtr->LocalePtr, rhsDate, 1900)) { rhs = ViewUtilities::GuiUtils::OsaTimeToSortableDate(&rhsDate); }===== Literals should be used only on the definition of constants and enumerations Rule: Philips Healthcare C++ Coding Standard item OLC#009 (Category: Object Life Cycle, Level: 7) Avoid the use of so-called "magic numbers" in arbitrary expressions: 1900 (first occurrence at line 267).
- Assistant