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

Removed boost/any in favour of openvdb::MetaMap usage #744

Closed
wants to merge 2 commits into from

Conversation

Idclip
Copy link
Contributor

@Idclip Idclip commented Jun 18, 2020

No description provided.

@Idclip Idclip requested review from kmuseth, jmlait and danrbailey June 18, 2020 10:56
@Idclip Idclip requested a review from pcucka as a code owner June 18, 2020 10:56
}
}

} // namespace page_stream
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@danrbailey be good for you to take a look through this - I started splitting out all the descriptor methods from the Local structs into a shared namespace too, but there's ever so slightly different implementations of some. Would be good to consolidate them

using TypedMetaT = TypedMetadata<typename StreamT::Ptr>;

const std::string key("paged:" + std::to_string(index));
typename TypedMetaT::ConstPtr it = auxData.getMetadata<TypedMetaT>(key);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note - getMetadata performs string type checks. If we don't want to do that, we can use static_cast<...>(auxData[key])

@Idclip
Copy link
Contributor Author

Idclip commented Jan 27, 2023

@danrbailey bump

Idclip added 2 commits October 4, 2023 20:29
Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com>
Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com>
@danrbailey
Copy link
Contributor

This PR has now been superceded by this one (#1687), closing...

@danrbailey danrbailey closed this Sep 18, 2024
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.

3 participants