getCheckedPointerParam in MooseObject #10356
Labels
C: Framework
P: normal
A defect affecting operation with a low possibility of significantly affects.
T: task
An enhancement to the software.
Rationale
Like we have
getParam
, we should havegetCheckedPointerParam
so MooseObject-derived classes can use it without touching parameters directly.Description
Add
getCheckedPointerParam
toMooseObject
. I will access input parameters of the MooseObject-derived class.Impact
Enhancing API, providing a way to check that pointers are actually valid and preventing segfaults, i.e. increasing code robustness.
The text was updated successfully, but these errors were encountered: