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

Add DataType::isToplike() #166

Open
kreczko opened this issue Jun 17, 2015 · 0 comments
Open

Add DataType::isToplike() #166

kreczko opened this issue Jun 17, 2015 · 0 comments

Comments

@kreczko
Copy link
Member

kreczko commented Jun 17, 2015

Currently the DataType is a pure enum which is really nice when you want to loop over things while giving it a name.

I would like to make it into a struct/class while maintaining the functionality to compare it to the Enum.
Hence I suggest to add the function bool DataType::isToplike() const using the same methodology as Ryan did with his FileType (albeit with comparison operator):
https://github.com/BristolImageAnalysis/SensorAnalysisToolkit/blob/master/modules/Plotting/Histograms/include/stkImageHistogram.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant