Rework the unit part of the hkl library
commit94cb46bab46a187f6a507269f7d31b1906693687
authorPicca Frédéric-Emmanuel <picca@debian.org>
Sun, 22 Jun 2014 21:32:42 +0000 (22 23:32 +0200)
committerFrédéric-Emmanuel PICCA <picca@synchrotron-soleil.fr>
Mon, 23 Jun 2014 15:02:58 +0000 (23 17:02 +0200)
treed38adbeb3a6d79ca607896195278655003bbdf72
parent44e92c5c15ab05fd489e47bac08bb7b2527c6f25
Rework the unit part of the hkl library

Prepare the final API for the inclusion of the udunits library.
This will allow to set the user unit prefered output of
the instrumented methods.

until now this was mostly used for radian to degree convertion.
But we can imagine other convertions in the futur.

the binding API also changed
41 files changed:
gui/hkl-gui-callbacks.cpp
gui/hkl-gui-modelcolumns.h
gui/hkl-gui-pseudoaxes.cpp
gui/hkl-gui.cpp
hkl.h
hkl/hkl-axis.c
hkl/hkl-binding-private.h
hkl/hkl-binding.c
hkl/hkl-factory.c
hkl/hkl-geometry-private.h
hkl/hkl-geometry.c
hkl/hkl-lattice.c
hkl/hkl-parameter-private.h
hkl/hkl-parameter.c
hkl/hkl-pseudoaxis-auto.c
hkl/hkl-pseudoaxis-common-eulerians.c
hkl/hkl-pseudoaxis-common-hkl.c
hkl/hkl-pseudoaxis-private.h
hkl/hkl-pseudoaxis-soleil-sixs-med.c
hkl/hkl-pseudoaxis.c
hkl/hkl-sample.c
hkl/hkl-unit-private.h
tests/bindings/python.py
tests/bindings/trajectory.py
tests/hkl-axis-t.c
tests/hkl-bench-t.c
tests/hkl-detector-t.c
tests/hkl-geometry-t.c
tests/hkl-lattice-t.c
tests/hkl-parameter-t.c
tests/hkl-pseudoaxis-e4ch-t.c
tests/hkl-pseudoaxis-e4cv-t.c
tests/hkl-pseudoaxis-e6c-t.c
tests/hkl-pseudoaxis-k4cv-t.c
tests/hkl-pseudoaxis-k6c-t.c
tests/hkl-pseudoaxis-soleil-sixs-med-t.c
tests/hkl-pseudoaxis-t.c
tests/hkl-pseudoaxis-zaxis-t.c
tests/hkl-sample-t.c
tests/hkl3d-test-t.c
tests/tap/hkl-tap.c