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

GetElementCount for specific element name #206

Open
scpeters-test opened this issue Nov 8, 2018 · 0 comments
Open

GetElementCount for specific element name #206

scpeters-test opened this issue Nov 8, 2018 · 0 comments

Comments

@scpeters-test
Copy link
Collaborator

Original report (archived issue) by Lorenzo Rapetti (Bitbucket: lorrapetti).


Given that it is allowed to have multiple elements with the same name in a plugin, I think a function like GetElementCount(<element_name>) returning the number of element with a given name can be helpful.

For example when multiple elements with the same name are present in a plugin, using GetElement(<element_name>) returns a pointer to the first element found and you have no notice on the presence of other element with the same name (so sometimes it may be useful to check the presence of multiple elements with the given name).

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

0 participants