1. 03 Oct, 2006 4 commits
    • Roland Levillain's avatar
      Add oln::image3d and associated types. · 57b5b067
      Roland Levillain authored
      	* oln/core/3d/image3d.hh, oln/core/3d/array3d.hh,
      	* oln/core/3d/point3d.hh, oln/core/3d/dpoint3d.hh,
      	* oln/core/3d/neighb3d.hh, oln/core/3d/aliases.hh,
      	* oln/basics3d.hh: New.
      	* oln/core/abstract/point_set_being_connected.hh
      	(oln::abstract::point_set_being_3d_connected): New class.
      	(oln::case_<point_set_hierarchy_wrt_connectivity, E, 3>): New
      	case.
      	* tests/image3d.cc: New test.
      	* tests/Makefile.am (check_PROGRAMS): Add image3d.
      	(image3d_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@605 4aad255d-cdde-0310-9447-f3009e2ae8c0
      57b5b067
    • Roland Levillain's avatar
      Add oln::image1d and associated types. · e9b02fbc
      Roland Levillain authored
      	* oln/core/1d/image1d.hh, oln/core/1d/array1d.hh,
      	* oln/core/1d/point1d.hh, oln/core/1d/dpoint1d.hh,
      	* oln/core/1d/neighb1d.hh, oln/core/1d/aliases.hh,
      	* oln/basics1d.hh: New.
      	* oln/core/abstract/point_set_being_connected.hh
      	(oln::abstract::point_set_being_1d_connected): New class.
      	(oln::case_<point_set_hierarchy_wrt_connectivity, E, 1>): Handle
      	the 1-dimension case, and move the 2-dimension case...
      	(oln::case_<point_set_hierarchy_wrt_connectivity, E, 2>): ...here
      	(new).
      	* tests/image1d.cc: New test.
      	* tests/Makefile.am (check_PROGRAMS): Add image1d.
      	(image1d_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@604 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e9b02fbc
    • Roland Levillain's avatar
      Clean up morphers. · 3a331bf9
      Roland Levillain authored
      	* oln/morpher/identity.hh
      	(oln::vtypes< morpher::identity<Image> >): Remove (was useless).
      	(oln/morpher/tags.hh): Move header inclusion...
      	* oln/morpher/internal/image_extension.hh: ...here
      	* oln/morpher/add_neighborhood.hh, oln/morpher/add_isubset.hh
      	(oln/morpher/tags.hh): No longer include it.
      	* oln/morpher/tags.hh (oln::morpher::tag::add_neighborhood):
      	Remove (was useless).
      	(oln::morpher::tag::identity): Adjust documentation.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@603 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3a331bf9
    • Roland Levillain's avatar
      Take borders into account in data allocation of image2d. · e96eed2a
      Roland Levillain authored
      	* oln/core/2d/image2d.hh (image2d(unsigned, unsigned, unsigned)):
      	Allocate space for the border in the array.
      	* oln/core/2d/point2d.hh, oln/core/typedefs.hh: Add FIXMEs.
      	* oln/core/2d/neighb2d.hh, oln/core/2d/dpoint2d.hh,
      	* oln/core/internal/point_nd.hh: Aesthetic changes.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@602 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e96eed2a
  2. 02 Oct, 2006 5 commits
    • Roland Levillain's avatar
      Add simple tests for point2d and dpoint2d. · 2a0f88b8
      Roland Levillain authored
      	* tests/dpoint2d.cc, tests/point2d.cc: New tests.
      	* tests/image_entry.cc: Fix comments.
      	* tests/Makefile.am (check_PROGRAMS): Add dpoint2d and point2d.
      	(dpoint2d_SOURCES, point2d_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@601 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2a0f88b8
    • Roland Levillain's avatar
      Separate tracked_ptr from array2d. · 03d01fa8
      Roland Levillain authored
      	* oln/core/2d/array2d.hh (oln::tracked_ptr): Move...
      	* oln/core/internal/tracked_ptr.hh: ...here (new file).
      	* oln/core/2d/image2d.hh (oln::image2d::data_): Adjust type.
      	(oln::image2d(const topo2d&)): New ctor.
      	* tests/image2d.cc: New test.
      	* tests/Makefile.am (check_PROGRAMS): Add image2d.
      	(image2d_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@600 4aad255d-cdde-0310-9447-f3009e2ae8c0
      03d01fa8
    • Roland Levillain's avatar
      Fix ChangeLog. · 2265fb70
      Roland Levillain authored
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@599 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2265fb70
    • Roland Levillain's avatar
      Fix the inheritance of oln::point2d_ and oln::dpoint2d_. · 9391b7d3
      Roland Levillain authored
      	* oln/core/2d/point2d.hh (oln::set_super_type< point2d_<C> >):
      	New.
      	(oln::point2d_): Use stc_get_supers to set the base class.
      	(oln::point2d_::super_t): Use stc_get_super to define it.
      	(oln::point2d_::point2d_(coord_t, coord_t)): Use xtd::mk_vec
      	to initialize the base class.
      	* oln/core/2d/dpoint2d.hh (oln::set_super_type< dpoint2d_<C> >):
      	Re-enable it.
      	(oln::dpoint2d_): Use stc_get_supers to set the base class.
      	(oln::dpoint2d_::super_t): Use stc_get_super to define it.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@598 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9391b7d3
    • Thierry Geraud's avatar
      2006-10-02 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · e8e89197
      Thierry Geraud authored
      	Add isubset image morpher and subsequent tools.
      	
      	* oln/core/gen/piter_isubset.hh: New.
      	* oln/core/gen/topo_add_isubset.hh: New.
      	* oln/morpher/add_isubset.hh: New.
      	* oln/debug/print.hh (println): New.
      	* oln/core/typedefs.hh (isubset): New.
      	* oln/core/automatic/image_being_random_accessible.hh
      	(set_impl): Remove; cause error-prone.
      	* oln/core/abstract/image/type/hierarchy.hh
      	(where_): Rely on xtd_is_binary instead of an hard-coded test. 
      	(include): Update.
      	* oln/core/gen/fwd_piter_bbox.hh (topo_type): new.
      	(topo_): Change ref into plain type so it is more secure.
      	* oln/core/gen/bkd_piter_bbox.hh (topo_type): new.
      	(topo_): Change ref into plain type so it is more secure.
      	* oln/core/gen/topo_add_nbh.hh (operator topo_t): New.
      	* oln/core/internal/topology_morpher.hh
      	(delegated_type): New.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@597 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e8e89197
  3. 29 Sep, 2006 8 commits
  4. 28 Sep, 2006 6 commits
    • Roland Levillain's avatar
      * xtd/abstract/fun.hh, xtd/abstract/fun_expr.hh, · e824ed57
      Roland Levillain authored
      	* xtd/abstract/fun_nary_expr.hh, xtd/abstract/meta_fun.hh,
      	* xtd/abstract/meta_nary_fun.hh, xtd/abstract/nary_fun.hh,
      	* xtd/abstract/open_fun.hh, xtd/abstract/open_nary_fun.hh,
      	* xtd/abstract/plain_fun.hh, xtd/abstract/plain_nary_fun.hh,
      	* xtd/builtin/traits.hh, xtd/internal/mlc.hh,
      	* xtd/internal/opmacros.hh, xtd/math/abs.hh, xtd/math/acos.hh,
      	* xtd/math/arith.hh, xtd/math/asin.hh, xtd/math/atan.hh,
      	* xtd/math/atan2.hh, xtd/math/ceil.hh, xtd/math/cmp.hh,
      	* xtd/math/constraints.hh, xtd/math/cos.hh, xtd/math/cosh.hh,
      	* xtd/math/exp.hh, xtd/math/floor.hh, xtd/math/id.hh,
      	* xtd/math/includes.hh, xtd/math/log.hh, xtd/math/log10.hh,
      	* xtd/math/logic.hh, xtd/math/pow.hh, xtd/math/sin.hh,
      	* xtd/math/sinh.hh, xtd/math/sqrt.hh, xtd/math/tan.hh,
      	* xtd/math/tanh.hh, xtd/arg.hh,* xtd/args.hh, xtd/bind.hh,
      	* xtd/cast.hh, xtd/cfun.hh, xtd/literal.hh, xtd/math.hh,
      	* xtd/mexpr.hh, xtd/mfun.hh, xtd/optraits.hh, xtd/res.hh,
      	* xtd/traits.hh, xtd/vec.hh: Adjust header guards to match the
      	file name.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@588 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e824ed57
    • Roland Levillain's avatar
      * mlc/abstract/type.hh, mlc/abstract/bexpr.hh, · cb9d6908
      Roland Levillain authored
      	* mlc/abort.hh, mlc/assert.hh, mlc/bexpr.hh, mlc/bool.hh,
      	* mlc/case.hh, mlc/char.hh, mlc/cmp.hh, mlc/comma.hh,
      	* mlc/contract.hh, mlc/elt.hh, mlc/flags.hh, mlc/if.hh,
      	* mlc/implies.hh, mlc/int.hh, mlc/is_a.hh, mlc/logic.hh,
      	* mlc/pair.hh, mlc/ret.hh, mlc/switch.hh, mlc/to_string.hh,
      	* mlc/typedef.hh, mlc/uint.hh, mlc/valist.hh, mlc/value.hh,
      	* mlc/values.hh, mlc/wrap.hh: Adjust header guards to match
      	the file name.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@587 4aad255d-cdde-0310-9447-f3009e2ae8c0
      cb9d6908
    • Roland Levillain's avatar
      * stc/any.hh, stc/entry.hh, stc/exact.hh, stc/find_exact.hh, · 0a6b61be
      Roland Levillain authored
      	* stc/scoop.hh, stc/valist_aggregator.hh,
      	* stc/internal/extract_vtype_from_list.hh: Adjust header guards to
      	match the file name.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@586 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0a6b61be
    • Roland Levillain's avatar
      Add oln::level::fill(). · 1cd4b005
      Roland Levillain authored
      	* oln/level/fill.hh: New.
      	* oln/Makefile.am (nobase_oln_HEADERS): Add level/fill.hh.
      	* tests/fill.cc: New test.
      	* tests/Makefile.am (AM_CXXFLAGS): Rename as...
      	(CXXFLAGS): ...this.
      	(check_PROGRAMS): Add fill.
      	(fill_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@585 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1cd4b005
    • Roland Levillain's avatar
      Catch up with Static's changes on automatically retrieved · 79c7b4b8
      Roland Levillain authored
      	implementations.
      
      	* oln/core/automatic/impl.hh: New.
      	* oln/automatic/image.hh: Move...
      	* oln/core/automatic/image.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	* oln/automatic/image_being_mutable.hh: Move...
      	* oln/core/automatic/image_being_mutable.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	* oln/automatic/image_being_random_accessible.hh: Move...
      	* oln/core/automatic/image_being_random_accessible.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	* oln/automatic/image_having_neighborhood.hh: Move...
      	* oln/core/automatic/image_having_neighborhood.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	* oln/automatic/topology_being_random_accessible.hh: Move...
      	* oln/core/automatic/topology_being_random_accessible.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	* oln/automatic/topology_having_bbox.hh: Move...
      	* oln/core/automatic/topology_having_bbox.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	* oln/automatic/topology_having_neighborhood.hh: Move...
      	* oln/core/automatic/topology_having_neighborhood.hh: ...here.
      	(impl): Rename as...
      	(set_impl): ...this.
      	Adjust.
      	* oln/core/abstract/image.hh (oln::abstract::image)
      	* oln/core/abstract/image/accessibility/hierarchy.hh
      	(oln::abstract::image_being_random_accessible)
      	* oln/core/abstract/image/bbox/hierarchy.hh
      	(oln::abstract::image_having_bbox)
      	* oln/core/abstract/image/dimension/1d.hh
      	(oln::abstract::image1d)
      	* oln/core/abstract/image/dimension/2d.hh
      	(oln::abstract::image2d)
      	* oln/core/abstract/image/dimension/3d.hh
      	(oln::abstract::image3d)
      	* oln/core/abstract/image/mutability/hierarchy.hh
      	(oln::abstract::image_being_mutable)
      	* oln/core/abstract/image/neighborhood/hierarchy.hh
      	(oln::abstract::image_having_neighborhood)
      	* oln/core/abstract/topology_being_random_accessible.hh
      	(oln::abstract::topology_being_random_accessible)
      	* oln/core/abstract/topology_having_bbox.hh
      	(oln::abstract::topology_having_bbox)
      	* oln/core/abstract/topology_having_neighborhood.hh
      	(oln::abstract::topology_having_neighborhood): Adjust.
      	* oln/Makefile.am (nobase_oln_HEADERS): Adjust.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@584 4aad255d-cdde-0310-9447-f3009e2ae8c0
      79c7b4b8
    • Roland Levillain's avatar
      Get rid of the handling of automatically retrieved implementations. · 5db1a116
      Roland Levillain authored
      	* stc/scoop.hh (automatic::impl): Remove.
      	The handling of automatically retrieved implementations is
      	now the responsibility of the ``client'' (here, Olena).
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@583 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5db1a116
  5. 27 Sep, 2006 6 commits
    • Thierry Geraud's avatar
      2006-09-27 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 73abf4a2
      Thierry Geraud authored
      	Add oln debug print and a "classical" image abstraction.
      	
      	* oln/debug/print.hh: New.
      	* oln/core/abstract/image/hybrid/classical.hh: New.
      	* oln/core/abstract/image/hierarchies.hh
      	(image_hybrid_hierarchy_wrt_classical): New.
      	(include): Update.
      	* oln/Makefile.am (nobase_oln_HEADERS): Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@582 4aad255d-cdde-0310-9447-f3009e2ae8c0
      73abf4a2
    • Thierry Geraud's avatar
      2006-09-27 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 5e7e523d
      Thierry Geraud authored
      	Update grid classes and add static checks for image vtypes.
      	
      	* oln/core/abstract/fwd_decls.hh: New.
      	* tests/image_entry.cc: Update.
      	* oln/core/abstract/image.hh (include): Add fwd_decls.
      	(decl): Add static checks.
      	* oln/core/abstract/image/mutability/hierarchy.hh
      	(lvalue_t, psite_t): Update.  oln_check_type_of is now useless
      	cause vtypes are now automatically checked in the decl structure.
      	* oln/core/abstract/image/bbox/hierarchy.hh
      	(bbox_t, point_t): Likewise.
      	(decl): Add static checks.
      	* oln/core/abstract/grid.hh (include): Update.
      	(point_type, dpoint_type, size_type, coord_type): Remove.
      	We have point->grid, not the contrary.
      	(grid): Change inheritance to stc::any__simple.
      	* oln/core/1d/grid1d.hh: Update.
      	* oln/core/2d/grid2d.hh: Update.
      	* oln/core/3d/grid3d.hh: Update.
      	* oln/basics2d.hh (include): Add grid2d.
      	* oln/Makefile.am (nobase_oln_HEADERS): Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@581 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5e7e523d
    • Thierry Geraud's avatar
      2006-09-27 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 939e5581
      Thierry Geraud authored
      	Enforce safety in some SCOOP tools.
      	
      	* stc/scoop.hh (stc_set_nth_super, stc_set_super): Add
      	"end of semicolon" safety.
      	(stc_virtual_typedef): Use oln_check_type_of instead of
      	oln_type_of.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@580 4aad255d-cdde-0310-9447-f3009e2ae8c0
      939e5581
    • Thierry Geraud's avatar
      2006-09-27 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 09b42296
      Thierry Geraud authored
      	Adjust guards to directory names.
      	
      	* oln/automatic/topology_having_bbox.hh: Adjust guard to directory name.
      	* oln/automatic/image.hh: Likewise.
      	* oln/automatic/image_being_random_accessible.hh: Likewise.
      	* oln/automatic/image_having_neighborhood.hh: Likewise.
      	* oln/automatic/topology_being_random_accessible.hh: Likewise.
      	* oln/automatic/topology_having_neighborhood.hh: Likewise.
      	* oln/automatic/image_being_mutable.hh: Likewise.
      	* oln/core/type.hh: Likewise.
      	* oln/core/traits_id.hh: Likewise.
      	* oln/core/typedefs.hh: Likewise.
      	* oln/core/macros.hh: Likewise.
      	* oln/core/point_set_entry.hh: Likewise.
      	* oln/core/neighborhood_entry.hh: Likewise.
      	* oln/core/topology_entry.hh: Likewise.
      	* oln/core/image_entry.hh: Likewise.
      	* oln/core/abstract/iterator_on_points.hh: Likewise.
      	* oln/core/abstract/image.hh: Likewise.
      	* oln/core/abstract/topology_hierarchies.hh: Likewise.
      	* oln/core/abstract/topology_having_bbox.hh: Likewise.
      	* oln/core/abstract/image/type/binary.hh: Likewise.
      	* oln/core/abstract/image/type/data.hh: Likewise.
      	* oln/core/abstract/image/type/integre.hh: Likewise.
      	* oln/core/abstract/image/type/grey_level.hh: Likewise.
      	* oln/core/abstract/image/type/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/type/color.hh: Likewise.
      	* oln/core/abstract/image/type/label.hh: Likewise.
      	* oln/core/abstract/image/mutability/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/hierarchies.hh: Likewise.
      	* oln/core/abstract/image/dimension/1d.hh: Likewise.
      	* oln/core/abstract/image/dimension/2d.hh: Likewise.
      	* oln/core/abstract/image/dimension/3d.hh: Likewise.
      	* oln/core/abstract/image/dimension/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/neighborhood/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/accessibility/hierarchy.hh: Likewise.
      	* oln/core/abstract/image/bbox/hierarchy.hh: Likewise.
      	* oln/core/abstract/grid.hh: Likewise.
      	* oln/core/abstract/point_set_being_random_accessible.hh: Likewise.
      	* oln/core/abstract/any.hh: Likewise.
      	* oln/core/abstract/point.hh: Likewise.
      	* oln/core/abstract/iterator.hh: Likewise.
      	* oln/core/abstract/point_set_being_connected.hh: Likewise.
      	* oln/core/abstract/bbox.hh: Likewise.
      	* oln/core/abstract/topology_being_random_accessible.hh: Likewise.
      	* oln/core/abstract/dpoint.hh: Likewise.
      	* oln/core/abstract/topology_having_neighborhood.hh: Likewise.
      	* oln/core/abstract/entry.hh: Likewise.
      	* oln/core/abstract/point_set.hh: Likewise.
      	* oln/core/abstract/point_set_having_known_size.hh: Likewise.
      	* oln/core/abstract/neighborhood.hh: Likewise.
      	* oln/core/abstract/point_set_having_bbox.hh: Likewise.
      	* oln/core/abstract/point_set_hierarchies.hh: Likewise.
      	* oln/core/abstract/topology.hh: Likewise.
      	* oln/core/abstract/internal/image_impl.hh: Likewise.
      	* oln/core/1d/grid1d.hh: Likewise.
      	* oln/core/traits.hh: Likewise.
      	* oln/core/2d/aliases.hh: Likewise.
      	* oln/core/2d/neighb2d.hh: Likewise.
      	* oln/core/2d/dpoint2d.hh: Likewise.
      	* oln/core/2d/array2d.hh: Likewise.
      	* oln/core/2d/image2d.hh: Likewise.
      	* oln/core/2d/grid2d.hh: Likewise.
      	* oln/core/2d/point2d.hh: Likewise.
      	* oln/core/3d/grid3d.hh: Likewise.
      	* oln/core/case.hh: Likewise.
      	* oln/core/gen/topo_lbbox.hh: Likewise.
      	* oln/core/gen/bbox.hh: Likewise.
      	* oln/core/gen/topo_bbox.hh: Likewise.
      	* oln/core/gen/neighb.hh: Likewise.
      	* oln/core/gen/fwd_piter_bbox.hh: Likewise.
      	* oln/core/gen/bbox_fwd_piter.hh: Likewise.
      	* oln/core/gen/bbox_bkd_piter.hh: Likewise.
      	* oln/core/gen/bkd_piter_bbox.hh: Likewise.
      	* oln/core/gen/topo_add_nbh.hh: Likewise.
      	* oln/core/gen/mapimage.hh: Likewise.
      	* oln/core/internal/topology_morpher.hh: Likewise.
      	* oln/core/internal/point_nd.hh: Likewise.
      	* oln/core/internal/bbox_bkd_piter.hh: Likewise.
      	* oln/core/internal/bbox_fwd_piter.hh: Likewise.
      	* oln/core/internal/dpoint_nd.hh: Likewise.
      	* oln/basics2d.hh: Likewise.
      	* oln/morpher/identity.hh: Likewise.
      	* oln/morpher/internal/image_extension.hh: Likewise.
      	* oln/morpher/tags.hh: Likewise.
      	* oln/morpher/add_neighborhood.hh: Likewise.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@579 4aad255d-cdde-0310-9447-f3009e2ae8c0
      09b42296
    • Thierry Geraud's avatar
      2006-09-27 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · e79fdf8e
      Thierry Geraud authored
      	Add array2d and tracked_ptr.
      	
      	* oln/core/2d/array2d.hh: New.
      	This file also provides the tracked_ptr class which should be
      	moved later in a more appropriate file.
      	* oln/core/2d/image2d.hh (lvalue_type, is_mutable_type): Add.
      	(data_): New attribute.
      	(impl_op_read): Update; code is no more fake.
      	(impl_op_readwrite): New.
      	(image2d): Update.
      	* oln/Makefile.am (nobase_oln_HEADERS): Update; remove
      	the core/2d/grid2d.hh duplicate.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@578 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e79fdf8e
    • Roland Levillain's avatar
      2006-09-27 Roland Levillain <roland@lrde.epita.fr> · bed298a1
      Roland Levillain authored
      	* tests/Makefile.am (AM_CXXFLAGS): Set to -O0 -ggdb.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@577 4aad255d-cdde-0310-9447-f3009e2ae8c0
      bed298a1
  6. 26 Sep, 2006 9 commits
    • Roland Levillain's avatar
      Let neighborhood() return a const reference instead of a copy. · 8e818e3c
      Roland Levillain authored
      	* oln/automatic/image_having_neighborhood.hh (impl_neighborhood)
      	* oln/core/abstract/image/neighborhood/hierarchy.hh
      	(image_having_neighborhood::neighborhood): Return a const
      	reference instead of a copy.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@576 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8e818e3c
    • Thierry Geraud's avatar
      2006-09-26 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 3814dc0f
      Thierry Geraud authored
      	Add mapimage type and update.
      	
      	* oln/core/gen/mapimage.hh: New.
      	* oln/automatic/image_being_random_accessible.hh: New.
      	* oln/core/abstract/topology_having_bbox.hh
      	(bbox): New; mutable version.
      	* oln/core/abstract/image.hh (has): Remove; this method
      	is now specific to a sub-abstraction.
      	* oln/core/abstract/image/mutability/hierarchy.hh
      	(lvalue_t, psite_t): Update.
      	(~image_being_mutable): Fix typo.
      	(using): New; it allows disambiguation of overloading
      	thru inheritance.
      	* oln/core/abstract/image/accessibility/hierarchy.hh
      	(has, has_large): Update.
      	(include): Update.
      	* oln/core/abstract/image/bbox/hierarchy.hh
      	(bbox_t, point_t): Update.
      	(bbox): Change return signature.
      	(pmin, pmax): New.
      	* oln/core/gen/topo_bbox.hh (impl_bbox): New.
      	* oln/Makefile.am (nobase_oln_HEADERS): Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@575 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3814dc0f
    • Thierry Geraud's avatar
      2006-09-26 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · e6708a33
      Thierry Geraud authored
      	Add some abstract image sub-hierarchies.
      	
      	* oln/automatic/image_being_mutable.hh: New.
      	* oln/core/abstract/image/mutability/hierarchy.hh: New.
      	* oln/core/abstract/image/accessibility/hierarchy.hh: New.
      	* oln/core/abstract/image/bbox/hierarchy.hh: New.
      	* oln/core/typedefs.hh (lvalue_type, is_mutable_type): New.
      	* oln/core/macros.hh (oln_deduce_type_of): New.
      	* oln/core/abstract/image.hh: Cosmetics.
      	* oln/core/abstract/image/hierarchies.hh
      	(image_hierarchy_wrt_bbox): New.
      	(image_hierarchy_wrt_accessibility): New.
      	(image_hierarchy_wrt_mutability): New.
      	(include): Update.	
      	* oln/core/abstract/image/neighborhood/hierarchy.hh (decl): New.
      	(~image_having_neighborhood): New.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@574 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e6708a33
    • Roland Levillain's avatar
      * oln/core/typedefs.hh: Catch up with changes in Static's · ec151f2f
      Roland Levillain authored
      	stc/scoop.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@573 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ec151f2f
    • Roland Levillain's avatar
      Rename stc/vtypes.hh as stc/scoop.hh. · 88031cd5
      Roland Levillain authored
      	* stc/vtypes.hh: Rename as...
      	* stc/scoop.hh: ..this.
      	Adjust headers guards.
      	(stc_equip_namespace_with_vtypes): Pass the enclosing namespace as
      	an argument of this macro.
      	Rename as...
      	(stc_scoop_equipment_for_namespace): ...this.
      	Adjust.
      	(stc::abstraction_as_type): Remove.
      	* tests/super.cc, tests/multiple-supers.cc,
      	* tests/vtypes.cc, tests/vtypes-and-exact.cc,
      	* tests/vtypes-multiple-supers.cc: Adjust.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@572 4aad255d-cdde-0310-9447-f3009e2ae8c0
      88031cd5
    • Roland Levillain's avatar
      Catch up with changes in the image abstractions hierachies. · 4fd61c76
      Roland Levillain authored
      	* tests/identity_morpher.cc, tests/add_neighborhood_morpher.cc,
      	* tests/morphers.cc: Catch up with changes in the image
      	abstractions hierachies.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@571 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4fd61c76
    • Thierry Geraud's avatar
      2006-09-26 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · 754f9cde
      Thierry Geraud authored
      	Dispatch image abstract classes into subdirs and files.
      	
      	* oln/core/abstract/image/type: New directory.
      	* oln/core/abstract/image/dimension: New directory.
      	* oln/core/abstract/image/neighborhood: New directory.
      	* oln/core/abstract/image_type.hh (internal): Remove.
      	Rename into...
      	* oln/core/abstract/image/type/hierarchy.hh: ...this file.
      	* oln/core/abstract/image_dimension.hh: Rename into...
      	* oln/core/abstract/image/dimension/hierarchy.hh: ...this file.
      	* oln/core/abstract/image_hierarchies.hh: Rename into...
      	* oln/core/abstract/image/hierarchies.hh: ...this file.
      	* oln/core/abstract/image_type_integre.hh: Rename into...
      	* oln/core/abstract/image/type/integre.hh: ...this file.
      	* oln/core/abstract/image_having_neighborhood.hh: Rename into...
      	* oln/core/abstract/image/neighborhood/hierarchy.hh: ...this file.
      	* oln/core/abstract/image.hh (include): Update.
      	* Makefile.am: Update.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@570 4aad255d-cdde-0310-9447-f3009e2ae8c0
      754f9cde
    • Roland Levillain's avatar
      Clean up ChangeLog. · c74503a1
      Roland Levillain authored
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@569 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c74503a1
    • Roland Levillain's avatar
      Have all classes of oln::automatic inherit from stc::any__simple. · 998033fd
      Roland Levillain authored
      	* oln/automatic/image_having_neighborhood.hh
      	(impl<abstract::image_having_neighborhood, morpher::tag::identity, E>):
      	Inherit from stc::any__simple<E> instead of abstract::image<E>.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@568 4aad255d-cdde-0310-9447-f3009e2ae8c0
      998033fd
  7. 25 Sep, 2006 2 commits
    • Roland Levillain's avatar
      Fix the distribution. · d8bbe253
      Roland Levillain authored
      	* olena/oln/Makefile.am (nobase_oln_HEADERS): Add
      	automatic/image.hh,
      	automatic/topology_being_random_accessible.hh,
      	automatic/topology_having_bbox.hh,
      	automatic/topology_having_neighborhood.hh,
      	core/abstract/topology_having_neighborhood.hh,
      	core/gen/topo_add_nbh.hh and
      	core/internal/topology_morpher.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@567 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d8bbe253
    • Thierry Geraud's avatar
      2006-09-25 Thierry GERAUD <theo@tegucigalpa.lrde.epita.fr> · b605d237
      Thierry Geraud authored
      	Properly define fwd_piter_type and bkd_piter_type for the
      	add_neighborhood image morpher.
      	
      	* oln/core/abstract/image_hierarchies.hh: Remove end blank line.
      	* oln/core/gen/fwd_piter_bbox.hh (change_topology_): New.
      	* oln/core/gen/bkd_piter_bbox.hh (change_topology_): New.
      	* oln/morpher/add_neighborhood.hh (morpher_type): Remove; obsolete
      	cause defined in super class.
      	(fwd_piter_type, bkd_piter_type): New definitions.
      
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@566 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b605d237