Function sdv::core::GetParameter(const IParameters *, const std::string&, bool)#

Function Documentation#

inline any_t sdv::core::GetParameter(const IParameters *pParameters, const std::string &rssParamName, bool bNoExcept = true)#

Get a parameter from the object smart pointer.

Parameters:
  • pParameters[in] Pointer to the parameter map interface of an object.

  • rssParamName[in] Name of the parameter (incl. groups preceding the name and separated with a dot).

  • bNoExcept[in] When set, do not trigger an std::runtime exception when the object or the parameter could not be found.

Returns:

Returns the value of the parameter or an empty any_t when the object or the parameter could not be found and bNoExcept was set.