AcademySoftwareFoundation / AcademySoftwareFoundation/OpenImageIO
Provide a type and memory safe interface for `attribute`
- Dominant language
- C++
- Stars
- 2.4k
- Forks
- 698
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 47
Description
This feature request is a continuation of this thread https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4560 aiming to provide a more type safe interface for setting and reading attributes rather than reading from a raw pointer.
This would be done as an addendum to the current API with the other calls then slowly being deprecated over time
```[tasklist]
### Tasks
- [ ] Create `attribute` function taking a cspan
- [ ] Update all the related `getattribute` etc. functions to reflect these changes
```
Contributor guide
Research direction
Start by reading the linked pull request and the current attribute, getattribute, and related API declarations and implementations. The issue names no files or tests. Done means adding the cspan-based attribute interface, updating the related functions, and identifying the existing calls for gradual deprecation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100