// ParamSet Methods void ParamSet::AddFloat(const std::string &name, const Float *values, int nValues) { EraseFloat(name); floats.emplace_back(new ParamSetItem<Float>(name, values, nValues)); }
// ParamSet Methods void ParamSet::AddFloat(const string &name, const float *data, int nItems) { EraseFloat(name); floats.push_back(new ParamSetItem<float>(name, data, nItems)); }
// ParamSet Methods void ParamSet::AddFloat(const std::string &name, std::unique_ptr<Float[]> values, int nValues) { EraseFloat(name); floats.emplace_back( new ParamSetItem<Float>(name, std::move(values), nValues)); }