carb::settings::setIntArray

Defined in carb/settings/SettingsUtils.h

inline void carb::settings::setIntArray(ISettings *settings, const char *path, const std::vector<int> &array)

A helper function for setting a std::vector<int> as an array of integers.

Equivalent to:

settings->setIntArray(path, array.data(), array.size());

Parameters
  • settings – The acquired ISettings interface.

  • path – The setting key path. See ISettings::setIntArray for details.

  • array – A vector containing the integer values for the setting value.