Skip to content

DataAlgo : Move to dedicated namespace - #1561

Merged
murraystevenson merged 2 commits into
ImageEngine:mainfrom
johnhaddon:dataAlgoNamespace
Nov 26, 2026
Merged

murraystevenson merged 2 commits into
ImageEngine:mainfrom
johnhaddon:dataAlgoNamespace

Conversation

@johnhaddon

Copy link
Copy Markdown
Member

I've been finding things like IECore::size() and IECore::trait() kindof unobvious, and I think moving them to a namespace helps with that.

@johnhaddon

Copy link
Copy Markdown
Member Author

Would be good to get some eyes on this please @murraystevenson.

@murraystevenson murraystevenson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies, forgot about this one. The mechanical changes all look good to me, and it makes sense to move these to a dedicated namespace. I've noted a few thoughts inline, feel free to address how you see fit and squash in any changes so this is ready to merge.

Comment thread src/IECorePython/DataAlgoBinding.cpp Resolved
Comment thread Changes Resolved
Comment thread include/IECore/DataAlgo.h Resolved
With a `using` fallback so folks don't have to adapt right away. Technically this is still a source compatibility break though, as the USD changes show - it's possible for ambiguity to exist with pre-existing DataAlgo namespaces in other libraries.

@murraystevenson murraystevenson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates. Merging.

@murraystevenson
murraystevenson merged commit 1514071 into ImageEngine:main Nov 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants