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

Const accessors in sdformat. #188

Open
osrf-migration opened this issue May 21, 2018 · 0 comments
Open

Const accessors in sdformat. #188

osrf-migration opened this issue May 21, 2018 · 0 comments
Labels
enhancement New feature or request trivial

Comments

@osrf-migration
Copy link

Original report (archived issue) by Alejandro Castro (Bitbucket: amcastro0622).


We had a use case in our Drake code base in which we only needed const access to an sdf::Element. Right now the current API only offers sdf::Element::GetElement() which returns a mutable shared pointer to a mutable element object.
Ideally we'd also like having const Element& GetElement(const std::string&).
Most likely similar const access would be needed in other places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request trivial
Projects
None yet
Development

No branches or pull requests

1 participant