예제 #1
0
void ParamSet::AddInt(const std::string &name, const int *values, int nValues) {
    EraseInt(name);
    ADD_PARAM_TYPE(int, ints);
}
예제 #2
0
void ParamSet::AddInt(const string &name, const int *data, int nItems) {
    EraseInt(name);
    ADD_PARAM_TYPE(int, ints);
}
예제 #3
0
void ParamSet::AddInt(const std::string &name, std::unique_ptr<int[]> values,
                      int nValues) {
    EraseInt(name);
    ADD_PARAM_TYPE(int, ints);
}