Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config::getParam* with more than one entry #95

Open
xrubio opened this issue Jul 23, 2014 · 0 comments
Open

Config::getParam* with more than one entry #95

xrubio opened this issue Jul 23, 2014 · 0 comments

Comments

@xrubio
Copy link
Owner

xrubio commented Jul 23, 2014

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");
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant