openframeworks / openframeworks/openFrameworks
ofAbstractParameter::getFirstParent is protected
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
ofAbstractParameter::getGroupHierarchyNames() gets you the names of the ofParameterGroups that create the hierarchy to a particular ofParameter, but it escapes the name of the groups and parameters.
I wanted to get this functionality without escaping the names, but to do this I need access to ofAbstractParameter::getFirstParent which is protected.
I don't see a clear justification for ofAbstractParameter::getFirstParent being protected instead of public.
Would it be cool to change that?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the declaration and callers of ofAbstractParameter::getFirstParent, then read how getGroupHierarchyNames() uses the parent hierarchy and escapes names. Done means the requested parent access is available without relying on escaped group or parameter names, with the existing behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100