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

Create a base unit class #2227

Closed
mantid-builder opened this issue Jul 15, 2010 · 1 comment
Closed

Create a base unit class #2227

mantid-builder opened this issue Jul 15, 2010 · 1 comment
Labels
Framework Issues and pull requests related to components in the Framework
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: Russell Taylor

This ticket is blocks : TRAC2507

We have a few cases where we have essentially (or literally) a string representing a unit. However, our Unit class only deals with units that can be converted to and from TOF. We should create a Unit base class which can be used by anything that needs to represent any kind of unit, and then turn the current Unit class into a ConvertibleUnit (or better name) that inherits from the new Unit base class.

An extension of this could be thinking about conversions for this - e.g. from seconds to microseconds.

@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 1380

@mantid-builder mantid-builder added the Framework Issues and pull requests related to components in the Framework label Jun 3, 2015
@mantid-builder mantid-builder added this to the Release 3.2 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Issues and pull requests related to components in the Framework
Projects
None yet
Development

No branches or pull requests

1 participant