pandora icon indicating copy to clipboard operation
pandora copied to clipboard

Config::getParam* with more than one entry

Open xrubio opened this issue 10 years ago • 0 comments

Currently the system only allows to have one entry for each param in the config, but it could be the case where there are several entries of one type. For example:

We need some method to iterate over the list, such as: for( auto entry : getEntry("agent")) { Point2D pos; pos._x = getParamInt(entry, "x"); pos._y = getParamInt(entry, "y"); }

xrubio avatar Jul 23 '14 08:07 xrubio