carb::settings::setIntArray

Defined in carb/settings/SettingsUtils.h

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

A helper function for setting a std::vector<int64_t> as an array of 64-bit integers.

Equivalent to:

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

Parameters
  • settings – The acquired ISettings interface.

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

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