1. 14 Sep, 2006 2 commits
    • Roland Levillain's avatar
      * oln/Makefile.am (nobase_oln_HEADERS): Typo. · 11e70bfe
      Roland Levillain authored
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@541 4aad255d-cdde-0310-9447-f3009e2ae8c0
      11e70bfe
    • Roland Levillain's avatar
      Add missing files to Olena's distribution. · 49486f07
      Roland Levillain authored
      	* oln/Makefile.am (nobase_oln_HEADERS): Add core/2d/aliases.hh,
      	core/2d/dpointd2.hh, core/2d/grid2d.hh, core/2d/image2d.hh,
      	core/2d/point2d.hh, core/abstract/bbox.hh,
      	core/abstract/dpoint.hh, core/abstract/dpoint_nd.hh,
      	core/abstract/entry.hh, core/abstract/image_hierarchies.hh,
      	core/abstract/image_type.hh, core/abstract/image_type_integre.hh,
      	core/abstract/iter.hh, core/abstract/point.hh,
      	core/abstract/point_nd.hh, core/abstract/pset_bboxed.hh,
      	core/abstract/pset_cnx.hh, core/abstract/pset_fixed.hh,
      	core/abstract/pset.hh, core/abstract/pset_hierarchies.hh,
      	core/abstract/pset_ra.hh, core/abstract/topo.hh,
      	core/abstract/topo_hierarchies.hh, core/abstract/topo_ra.hh,
      	core/abstract/topo_with_bbox.hh, core/gen/bbox.hh,
      	core/gen/bbox_topo.hh, core/gen/bkd_piter.hh,
      	core/gen/fwd_piter.hh, core/image_entry.hh, core/pset_entry.hh,
      	core/traits.hh, core/traits_id.hh, core/topo_entry.hh,
      	core/type.hh and basics2d.hh
      	Remove core/abstract/image_abstractions.hh,
      	core/abstract/image_entry.hh, core/abstract/image_typeness.hh, and
      	core/abstract/image_typeness_integre.hh.
      	* oln/basics2d.hh: Fix copyright header.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@535 4aad255d-cdde-0310-9447-f3009e2ae8c0
      49486f07
  2. 12 Sep, 2006 1 commit
    • Roland Levillain's avatar
      Fix the current implementation of image_entry, as well as some · 34b029a5
      Roland Levillain authored
      	tests.
      
      	* oln/core/abstract/internal/image_impl.hh (oln::category::image):
      	Move this declaration...
      	* oln/core/abstract/image.hh: ...here.
      	* oln/core/case.hh: New file.
      	* oln/core/abstract/image_abstractions.hh,
      	* olena/oln/core/abstract/entry.hh,
      	* oln/core/traits.hh: Use it.
      	* oln/Makefile.am (nobase_oln_HEADERS): Add core/case.hh.
      
      	* oln/core/abstract/image_dimension.hh
      	(oln::ERROR::UNKNOWN_GRID_TYPE): New.
      	(oln::default_case_<grid_dim_tag, grid_type): Use it.
      	(ext_vtype_in_category): Turn into...
      	(ext_vtype): ...this.
      	* oln/core/abstract/image_typeness.hh (ext_vtype_in_category):
      	Turn into...
      	(ext_vtype): ...this.
      
      	* oln/core/typedefs.hh (oln_type_of, oln_type_of_): Move
      	these macros...
      	* oln/core/abstract/macros.hh: ...here, and replace the previous
      	ones.
      	Rename file as...
      	* oln/core/macros.hh: ...this.
      	Adjust header guards.
      	* oln/core/abstract/internal/image_impl.hh: Adjust users.
      	* oln/Makefile.am (nobase_oln_HEADERS): Remove
      	core/abstract/macros.hh.
      	Add core/macros.hh
      
      	* oln/core/abstract/grid.hh (oln_grd_type_of, oln_grd_type_of_):
      	Remove macros.
      	(vtypes_in_category< category::grid, abstract::grid<G> >): Turn
      	into...
      	(vtypes< abstract::grid<G> >): ...this.
      	(packed_vtypes_in_category<category::grid, G>):
      	s/oln_grd_type_of/oln_type_of/g.
      	* oln/core/1d/grid1d.hh, oln/core/2d/grid2d.hh,
      	* oln/core/3d/grid3d.hh (vtypes_in_category): Turn into...
      	(vtypes): ...this.
      
      	* tests/grid.cc: s/oln_grd_type_of_/oln_type_of_/g
      	* tests/image_entry.cc (my::dummy): New declaration.
      	(vtypes_in_category<category::image, my::image>): Turn into...
      	(vtypes<my::image>): ...this.
      	Add missing virtual types.
      	(my::image): Fix base class.
      	(main): Remove any references to
      	packed_vtypes_in_category<oln::category::image, my::image>, since
      	it no longer exists.
      	* tests/Makefile.am (AM_CPPFLAGS): Add -I$(top_srcdir)/extended.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@529 4aad255d-cdde-0310-9447-f3009e2ae8c0
      34b029a5
  3. 27 Apr, 2006 1 commit
    • Roland Levillain's avatar
      Add image ``typeness'' abstraction hierarchy. · 6e0342df
      Roland Levillain authored
      	* tests/image_entry.cc (my): Check image_typeness_type vtype and
      	inheritance.
      	* oln/core/typedefs.hh (value_type, image_typeness_type): Enable
      	typedef.
      	* oln/core/abstract/image.hh (vtypes::value_type): Enable typedef.
      	(packed_vtypes::value_type): New typedef.
      	(packed_vtypes::echo): Print value_type and image_typeness_type.
      	(packed_vtypes::ensure): Check value_type and image_typeness_type.
      	(image::value_type): Enable typedef.
      	* oln/core/abstract/image_entry.hh: Include images abstractions
      	headers.
      	Don't include mlc/case.hh nor oln/core/abstract/image.hh.
      	(mlc_case_equipment_for_namespace(oln))
      	(abstraction_tags): Move...
      	* oln/core/abstract/image_abstractions.hh: ...here (new file).
      	* oln/core/abstract/image_dimension.hh: Include it.
      	Include stc/entry.hh.
      	Aesthetic changes.
      	* oln/core/abstract/image_typeness.hh: New file (imported from
      	Olena proto-1.0, and modified).
      	* oln/core/abstract/image_typeness_integre.hh: New file
      	* oln/Makefile.am (nobase_oln_HEADERS): Add
      	core/abstract/image_abstractions.hh,
      	core/abstract/image_typeness.hh and
      	core/abstract/image_typeness_integre.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@480 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6e0342df
  4. 25 Apr, 2006 1 commit
    • Roland Levillain's avatar
      Add grids. · ec13303d
      Roland Levillain authored
      	* oln/core/abstract/grid.hh,
      	* oln/core/1d/grid1d.hh,
      	* oln/core/2d/grid2d.hh,
      	* oln/core/3d/grid3d.hh: New files (imported from Olena proto-1.0,
      	and modified).
      	* oln/core/typedefs.hh (grid_type, point_type, dpoint_type)
      	(size_type, dimvalue_type, coord_type): Enable these types.
      	* oln/core/abstract/image.hh (grid_type): Don't mlc-declare this
      	typedef, since oln/core/typedefs.hh already takes care of it.
      	(vtypes< category::image, abstract::image<I> >): Enable	grid_type.
      	(packed_vtypes): Likewise.
      	* oln/core/abstract/internal/image_impl.hh: Improve comment.
      	* tests/grid.cc: New test.
      	* tests/image_entry.cc: Update this test.
      	* oln/Makefile.am (nobase_oln_HEADERS): Add core/abstract/grid.hh,
      	core/1d/grid1d.hh, core/2d/grid2d.hh and core/3d/grid3d.hh.
      	* tests/Makefile.am (check_PROGRAMS): Add grid.
      	(grid_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@470 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ec13303d
  5. 21 Apr, 2006 1 commit
    • Roland Levillain's avatar
      Lay the foundation stone of abstract::image. · 649d49ab
      Roland Levillain authored
      	* oln/core/abstract/any.hh, oln/core/typedefs.hh,
      	* oln/core/abstract/image.hh,
      	* oln/core/abstract/internal/image_impl.hh
      	* oln/core/abstract/image_entry.hh
      	* oln/core/abstract/image_dimension.hh: New files (imported from
      	Olena proto-1.0, and modified).
      	* oln/core/abstract/macros.hh: New file.
      	* tests/image_entry.cc: New test.
      	* Makefile.am, oln/Makefile.am, tests/Makefile.am: New files.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@462 4aad255d-cdde-0310-9447-f3009e2ae8c0
      649d49ab