use list and design an iterator interface for the HklGeometryList
commitfac96a7df303d40bc6bf199907655afa01a23985
authorFrédéric-Emmanuel PICCA <picca@synchrotron-soleil.fr>
Wed, 2 Apr 2014 08:58:59 +0000 (2 10:58 +0200)
committerFrédéric-Emmanuel PICCA <picca@synchrotron-soleil.fr>
Wed, 2 Apr 2014 08:58:59 +0000 (2 10:58 +0200)
tree785c082aac1b242b2e22d95c8e1668925cdb4c6f
parentedeb17ef82ef9f7c27bd827214d0279ee84a5ea8
use list and design an iterator interface for the HklGeometryList

no more darray for the HklGeometryLis structure.
it was not efficient.

now the interface use

hkl_geometry_list_n_items_get
hkl_geometry_list_items_first_get
hkl_geometry_list_items_next_get

and a foreach macro

HKL_GEOMETRY_LIST_FOREACH
18 files changed:
gui/hkl-gui.cpp
hkl.h
hkl/hkl-binding.c
hkl/hkl-geometry-private.h
hkl/hkl-geometry.c
hkl/hkl-pseudoaxis-common-hkl.c
hkl/hkl-pseudoaxis.c
tests/bindings/trajectory.py
tests/hkl-bench-t.c
tests/hkl-geometry-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