1. 14 Sep, 2006 3 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
      Use the new entry/hierarchy system for images. · 42295643
      Roland Levillain authored
      	* oln/core/abstract/image_entry.hh: Remove.
      	* oln/core/abstract/image_hierarchies.hh: New.
      	* oln/core/abstract/image.hh
      	(oln/core/abstract/image_hierarchies.hh): Include it.
      	* oln/core/image_entry.hh: Aesthetic change.
      
      	* oln/core/abstract/image_dimension.hh:
      	Update the documentation.
      	(oln::ERROR::UNKNOWN_GRID_TYPE): Remove error message.
      	(oln::grid_dim_tag): Remove tag.
      	(stc::set_entry_node<I, oln::abstract::dimension_tag>): Remove
      	switch.
      	(case_<grid_dim_tag, grid_type, 1>)
      	(case_<grid_dim_tag, grid_type, 2>)
      	(case_<grid_dim_tag, grid_type, 3>): Update and rename as...
      	(case_<image_dimension_hierarchy, E, 1>)
      	(case_<image_dimension_hierarchy, E, 2>)
      	(case_<image_dimension_hierarchy, E, 3>): ...this.
      	(default_case_<grid_dim_tag, grid_type>): Remove.
      	(oln::ext_vtype<abstract::image<I>, typedef_::image_dimension_type>):
      	Remove external vtype.
      
      	* oln/core/abstract/image_typeness.hh: Rename as...
      	* oln/core/abstract/image_type.hh: ...this.
      	Adjust header guards.
      	Update the documentation.
      	(oln::value_type_tag): Remove tag.
      	(stc::set_entry_node<I, oln::abstract::typeness_tag>): Remove
      	switch.
      	(case_<value_type_tag, value_type, 1>)
      	(case_<value_type_tag, value_type, 2>)
      	(default_case_<value_type_tag, value_type>): Update and rename
      	as...
      	(case_<image_type_hierarchy, E, 1>)
      	(case_<image_type_hierarchy, E, 2>)
      	(default_case_<image_type_hierarchy, E>): ...this.
      	No longer provide an `image_typeness_type' typedef.
      	(oln::ext_vtype<abstract::image<I>, typedef_::image_typeness_type>):
      	Remove external vtype.
      
      	* oln/core/abstract/image_typeness_integre.hh: Rename as...
      	* oln/core/abstract/image_type_integre.hh: ...this.
      	Adjust header guards.
      	(case_<value_type_tag, value_type, 3>)
      	(case_<value_type_tag, value_type, 4>)
      	(case_<value_type_tag, value_type, 5>)
      	(case_<value_type_tag, value_type, 6>): Update and rename as...
      	(case_<image_type_hierarchy, E, 3>)
      	(case_<image_type_hierarchy, E, 4>)
      	(case_<image_type_hierarchy, E, 5>)
      	(case_<image_type_hierarchy, E, 6>): ...this.
      	No longer provide an `image_typeness_type' typedef.
      	
      	* tests/image_entry.cc (my::image): Set
      	oln::image_entry<my::image> as super type.
      	(oln::vtypes<my::image>::psite_type)
      	(oln::vtypes<my::image>::rvalue_type)
      	(oln::vtypes<my::image>::piter_type): Remove these typedefs, as
      	they are already defined as single typedefs in
      	oln/core/image_entry.hh.
      	(my::image::grid_type, my::image::value_type): Rename as...
      	(my::image::grid_t, my::image::value_t): ...this.
      	(my::image::image_dimension_type, my::image::image_typeness_type):
      	Remove.
      	(main): Adjust, and remove irrelevant assertions.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@536 4aad255d-cdde-0310-9447-f3009e2ae8c0
      42295643
    • 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. 13 Sep, 2006 1 commit
  3. 12 Sep, 2006 2 commits
    • 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
    • Roland Levillain's avatar
      Clean up ChangeLog. · c2111331
      Roland Levillain authored
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@528 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c2111331
  4. 07 Sep, 2006 2 commits
    • Thierry Geraud's avatar
      2006-09-07 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · dd2ae6da
      Thierry Geraud authored
      	Add image2d and fix topo-related classes.
      	
      	* olena/tests/npoints.cc: New.
      	* olena/tests/Makefile.am: Update.
      	* olena/oln/core/image_entry.hh: New.
      	* olena/oln/core/2d/image2d.hh: New.
      	* olena/oln/basics2d.hh: Force instantiation and include
      	oln/core/2d/image2d.hh.
      	* olena/oln/core/typedefs.hh: Include mlc/assert.hh and
      	mlc/to_string.hh.
      	(piter_type): Uncomment.
      	(rvalue_type): New.
      	(psite_type): New.
      	(concrete_type): Uncomment.
      	(size_type): Add comment.
      	(topo_type): New.
      	* olena/oln/core/abstract/topo.hh (bbox): Remove this method which
      	is redundant with the one of topo_with_bbox.
      	* olena/oln/core/abstract/topo_with_bbox.hh (bbox): Fix typo.
      	* olena/oln/core/abstract/entry.hh (next_entry_node): New
      	specialization to handle the specific and rare case of having no
      	sub-hierarchy.
      	* olena/oln/core/abstract/topo_ra.hh: Fix cut n paste errors.
      	* olena/oln/core/abstract/pset.hh (piter): New vtype decl.
      	* olena/oln/core/gen/fwd_piter.hh (fwd_piter_): Add commented
      	forthcoming ctors.
      	* olena/oln/core/gen/bbox_topo.hh: Cosmetics.
      	* olena/oln/core/pset_entry.hh (piter_type): New.
      	* olena/oln/core/abstract/image.hh: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@527 4aad255d-cdde-0310-9447-f3009e2ae8c0
      dd2ae6da
    • Thierry Geraud's avatar
      2006-09-07 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 4c3a9698
      Thierry Geraud authored
      	Start the topology hierarchy.
      	
      	* oln/core/topo_entry.hh: New.
      	* oln/core/abstract/topo.hh: New.
      	* oln/core/abstract/topo_hierarchies.hh: New.
      	* oln/core/abstract/topo_with_bbox.hh: New.
      	* oln/core/abstract/topo_ra.hh: New.
      	* oln/core/gen/bbox_topo.hh: New.
      	* oln/core/2d/aliases.hh (topo2d): New.
      
      	Add a new sub-hierarchy to abstract::pset.
      	
      	* oln/core/abstract/pset_cnx.hh: New.
      	* oln/core/typedefs.hh (cnx_type): New.
      	* oln/core/abstract/pset_hierarchies.hh (pset_cnx_hierarchy): New.
      	* oln/core/abstract/bbox.hh (cnx_type): New.
      	* oln/core/abstract/pset_bboxed.hh (is_valid): Move this method into...
      	* oln/core/abstract/pset.hh (pset): ...this class.
      	(dim): New vtype.
      	* oln/core/pset_entry.hh (single_vtype): Add vtype dim.
      	* oln/basics2d.hh: Include oln/core/gen/bbox_topo.hh.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@526 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4c3a9698
  5. 06 Sep, 2006 1 commit
    • Thierry Geraud's avatar
      2006-09-06 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 444d8d71
      Thierry Geraud authored
      	Update abstract::pset hierarchy to final SCOOP-2 design.
      	
      	* oln/core/pset_entry.hh: New.
      	* oln/core/typedefs.hh: Include oln/core/abstract/entry.hh.
      	* oln/core/abstract/bbox.hh: Clean includes.
      	(set_super_type): Change from abstract::pset<E> to pset_entry<E>.
      	(bbox): Update.
      	* oln/core/abstract/entry.hh (set_super_type): New specialization.
      	* oln/core/abstract/pset.hh (Copyright): Fix years.
      	(vtypes, ext_vtype): Remove.
      	(fixed_pset, ra_pset, bboxed_pset): Move and dispatch to...
      	* oln/core/abstract/pset_fixed.hh: ...this new file.
      	* oln/core/abstract/pset_ra.hh: ...this new file.
      	* oln/core/abstract/pset_bboxed.hh: ...this new file.
      	* oln/core/abstract/pset.hh
      	(pset_fixed_hierarchy, pset_ra_hierarchy, pset_bboxed_hierarchy)
      	(case_): Move to...
      	* oln/core/abstract/pset_hierarchies.hh: ...this new file.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@524 4aad255d-cdde-0310-9447-f3009e2ae8c0
      444d8d71
  6. 05 Sep, 2006 1 commit
    • Thierry Geraud's avatar
      2006-09-05 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 7eda9789
      Thierry Geraud authored
      	Test on abstract::pset alternative code for static inheritance. 
      	
      	* oln/core/abstract/entry.hh: New proposition for entry class in
      	static hierarchies.  This is a test file that should be removed
      	after stc update.
      	* oln/core/typedefs.hh (fixed_type, ra_type, bbox_type): New
      	typedef declarations.
      	* oln/core/abstract/bbox.hh (fwd_piter_, bkd_piter_): Remove
      	these forward declarations.
      	(ext_vtype): Remove.
      	(vtypes): New.
      	(ra_type, fixed_type, bbox_type): New associated types.
      	(bbox): Change inheritance from abstract::pset to an entry class.
      	(bbox): Remove all methods except print from this class; the
      	methods are dispatched into abstract::bboxed_pset and
      	gen::bbox_<P>.
      	(bbox): Likewise for attributes.
      	(print): Reject code to subclasses.
      	(impl_bbox): New method.
      	* oln/core/abstract/pset.hh: Include entry.hh.
      	(fwd_piter_type, bkd_piter_type): New associated types.
      	(bbox_type, ra_type, fixed_type): Likewise
      	(pset): Add virtual to inheritance.
      	(~pset): Extend check code.
      	(fixed_pset, ra_pset, bboxed_pset): New sub-abstractions.
      	(pset_fixed_hierarchy, pset_ra_hierarchy, pset_bboxed_hierarchy):
      	New hierarchy tags.
      	* oln/core/gen/bbox.hh: Update.
      	(operator=): New.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@522 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7eda9789
  7. 04 Sep, 2006 2 commits
    • Roland Levillain's avatar
      Adjust virtual types class names. · 8d0886b4
      Roland Levillain authored
      	* oln/core/abstract/image.hh,
      	* oln/core/abstract/image_dimension.hh,
      	* oln/core/abstract/image_typeness.hh,
      	* oln/core/abstract/grid.hh, oln/core/1d/grid1d.hh,
      	* oln/core/2d/grid2d.hh, oln/core/3d/grid3d.hh,
      	* tests/image_entry.cc (vtypes): Rename as...
      	(vtypes_in_category): ...this.
      	* oln/core/abstract/image.hh, oln/core/abstract/grid.hh,
      	* tests/image_entry.cc (packed_vtypes): Rename as...
      	(packed_vtypes_in_category): ...this.
      
      	* oln/core/abstract/point.hh, oln/core/abstract/dpoint.hh,
      	* oln/core/abstract/piter.hh, oln/core/abstract/pset.hh,
      	* oln/core/gen/bbox.hh,
      	* oln/core/gen/bkd_piter.hh, oln/core/gen/fwd_piter.hh,
      	* oln/core/2d/point2d.hh, oln/core/2d/dpoint2d.hh (vtypes_):
      	Rename as...
      	(vtypes).
      	* oln/core/abstract/pset.hh, oln/core/abstract/bbox.hh
      	(ext_vtype_): Rename as...
      	(ext_vtype): ...this.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@521 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8d0886b4
    • Thierry Geraud's avatar
      2006-09-04 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · de963d60
      Thierry Geraud authored
      	Test how to define derived associated types in bbox hierarchy.
      
      	* oln/core/abstract/bbox.hh (ext_vtype_): New definitions of
      	fwd_piter_type and bkd_piter_type.
      	(~bbox): Comment possible recursive code.
      	* oln/core/gen/bbox.hh (vtypes_): Comment former definitions of
      	fwd_piter_type and bkd_piter_type.
      	* oln/core/abstract/pset.hh (ext_vtype_): New definition for grid.
      	(fwd_piter_type, bkd_piter_type): Comment because they are now
      	externally defined.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@519 4aad255d-cdde-0310-9447-f3009e2ae8c0
      de963d60
  8. 01 Sep, 2006 2 commits
    • Thierry Geraud's avatar
      2006-09-01 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 0b71ec5a
      Thierry Geraud authored
      	* oln/core/abstract/piter.hh (to_point): New.
      	* oln/core/abstract/bbox.hh (pmin, pmax): New overloaded methods.
      	(is_valid, print, operator<<): New.
      	* oln/core/abstract/iter.hh (iter): Change inheritance from
      	any__simple to any__best_memory to fix trouble with multiple
      	inheritance.
      	(ctor): Remove dangerous call to invalidate.
      	* oln/core/abstract/point_nd.hh (operator<<): New.
      	(impl_less): Update.
      	* oln/core/abstract/pset.hh (coord_type): New.
      	* oln/core/2d/point2d.hh (coord_t): Move to public so that this
      	associated type is directly accessible from...
      	* oln/core/gen/bbox.hh (vtypes): ...this set of types.
      	* oln/core/gen/fwd_piter.hh (psup_): Remove.
      	(bbox): New accessor.
      	(impl_next): Rewrite.
      	(print, operator<<): New.
      	(invariant): Strengthen.
      	* oln/core/gen/bkd_piter.hh: Likewise.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@516 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0b71ec5a
    • Thierry Geraud's avatar
      2006-09-01 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 677bbd2d
      Thierry Geraud authored
      	Add bboxes and iterators.
      	
      	* oln/core/abstract/piter.hh: New.
      	* oln/core/abstract/bbox.hh: New.
      	* oln/core/abstract/iter.hh: New.
      	* oln/core/abstract/pset.hh: New.
      	* oln/core/2d/aliases.hh: New.
      	* oln/core/gen/fwd_piter.hh: New.
      	* oln/core/gen/bkd_piter.hh: New.
      	* oln/core/gen/bbox.hh: New.
      	* oln/core/2d/point2d.hh (point2d_): New ctor.
      	(point2d, dpoint2d, point2df, dpoint2df): Move typedefs to...
      	* oln/basics2d.hh: ...this new file.
      	* oln/core/typedefs.hh (oln_type_of_): New macro.
      	(include): Update.
      	(fwd_piter_type, bkd_piter_type): New decls.
      	* oln/core/abstract/point.hh (include): Update.
      	(vtypes_): New specialization.
      	* oln/core/abstract/dpoint.hh: Likewise.
      	* oln/core/abstract/point_nd.hh (include): Update.
      	(set_super_type): New specialization.
      	* oln/core/abstract/dpoint_nd.hh: Likewise.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@513 4aad255d-cdde-0310-9447-f3009e2ae8c0
      677bbd2d
  9. 31 Aug, 2006 1 commit
    • Thierry Geraud's avatar
      2006-08-31 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 65f043b1
      Thierry Geraud authored
      	Add dpoint, oln traits, and operators on point/dpoint.
      	
      	* oln/core/type.hh: New.
      	* oln/core/traits_id.hh: New.
      	* oln/core/abstract/dpoint.hh: New.
      	* oln/core/abstract/dpoint_nd.hh: New.
      	* oln/core/traits.hh: New.
      	* oln/core/2d/dpoint2d.hh: New.
      	* oln/core/abstract/point.hh (point): Add inheritance to
      	oln::type.
      	(operators): New.
      	* oln/core/abstract/point_nd.hh (point_): New meta-function.
      	(impl_eq): Rename as...
      	(impl_equal): ...this.
      	(coord): Rename as...
      	(coord_t): ...this.
      	(impl_less): New.
      	(impl_plus_equal, impl_plus): New.
      	(impl_minus_equal, impl_minus, impl_minus): New.
      	(vec): New.
      	(case_): New specializations.
      	(point_nd): New ctor.
      	* oln/core/2d/point2d.hh: Update forward declarations.
      	(point_, dpoint_): New specializations.
      	(point2d): New ctor.
      	(coord): Rename as...
      	(coord_t): ...this.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@511 4aad255d-cdde-0310-9447-f3009e2ae8c0
      65f043b1
  10. 30 Aug, 2006 1 commit
  11. 05 Jun, 2006 1 commit
  12. 02 May, 2006 1 commit
    • Roland Levillain's avatar
      Fix a duplicate where-clause and perform some aesthetic changes in · 1f95808f
      Roland Levillain authored
      	image abstractions.
      
      	* oln/core/abstract/image_dimension.hh: Move the static switch
      	statement before the cases.
      	Aesthetic changes.
      	* olena/oln/core/abstract/image_typeness.hh: Likewise.
      	(case_<value_type_tag, value_type, 2>): Fix a copy-and-paste bug:
      	remove a duplicate `unsigned char' type in the where-clause and
      	replace it with `signed char'.
      	* oln/core/abstract/image_typeness_integre.hh,
      	* tests/image_entry.cc: Aesthetic changes.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@481 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1f95808f
  13. 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
  14. 25 Apr, 2006 6 commits
    • Roland Levillain's avatar
      * oln/core/abstract/image_dimension.hh: Add some more · 686d8b7e
      Roland Levillain authored
      	documentation.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@477 4aad255d-cdde-0310-9447-f3009e2ae8c0
      686d8b7e
    • Roland Levillain's avatar
      Re-enable exact_type vtype. · 47828780
      Roland Levillain authored
      	* oln/core/typedefs.hh (oln_super_of_, oln_super2_of_)
      	(oln_super3_of_, oln_super_of): Remove macros.
      	(exact_type): Enable this typedef.
      	* oln/core/abstract/image.hh (packed_vtypes::exact_type): New
      	typedef.
      	(packed_vtypes::echo): Print exact_type.
      	(packed_vtypes::ensure): Check exact_type.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@476 4aad255d-cdde-0310-9447-f3009e2ae8c0
      47828780
    • Roland Levillain's avatar
      * oln/core/typedefs.hh: s/properties/vtypes/. · d53afee5
      Roland Levillain authored
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@475 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d53afee5
    • Roland Levillain's avatar
      Catch up with the latest name changes in Static. · ae839f7b
      Roland Levillain authored
      	* oln/core/abstract/image_dimension.hh
      	(case_<grid_dim_tag, grid_type, 1>)
      	(case_<grid_dim_tag, grid_type, 2>)
      	(case_<grid_dim_tag, grid_type, 3>):
      	s/stc::is_a/stc::abstraction_as_type/.
      	* oln/core/abstract/macros.hh (oln_type_of, oln_type_of_)
      	* oln/core/abstract/grid.hh (oln_grd_type_of, oln_grd_type_of_):
      	Catch up with the new names of Static macros.
      	* tests/image_entry.cc: Adjust test.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@473 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ae839f7b
    • Roland Levillain's avatar
      Plug image_entry's inheritance to the right image dimension · be241bbb
      Roland Levillain authored
      	abstraction according to the grid type of the exact image type.
      
      	* oln/core/abstract/image_entry.hh: Add switch/case equipment in
      	the oln namespace.
      	* oln/core/abstract/image_dimension.hh
      	(grid_dim_tag)
      	(case_<grid_dim_tag, grid_type, 1>)
      	(case_<grid_dim_tag, grid_type, 2>)
      	(case_<grid_dim_tag, grid_type, 3>)
      	(default_case_<grid_dim_tag, grid_type>): New Metalic switch/case
      	on grid type, returning the corresponding image dimension type.
      	(set_entry_node<I, oln::abstract::dimension_tag>): Use this Metalic
      	switch/case to choose the dimension abstraction in the inheritance
      	tree.
      	* oln/core/abstract/image.hh (vtypes): Don't define
      	image_dimension_type as an internal vtype, instead...
      	* oln/core/abstract/image_dimension.hh
      	(oln::ext_vtype<category::image, abstract::image<I>,
      	typedef_::image_dimension_type>): ...define it externally, using
      	the switch used inheritance-plugging mechanism based on the grid
      	type.
      	* tests/image_entry.cc (oln): Adjust.
      	Check my::image's virtual types.
      	Print my::image's vtypes on the standard output.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@471 4aad255d-cdde-0310-9447-f3009e2ae8c0
      be241bbb
    • 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
  15. 22 Apr, 2006 1 commit
  16. 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