- 31 Oct, 2006 1 commit
-
-
Roland Levillain authored
* configure.ac: Erase CXXFLAGS if the user doesn't set it. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@690 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 27 Oct, 2006 4 commits
-
-
Roland Levillain authored
git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@689 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/core/automatic/image/mutable_image1d.hh: Fix header guards, (were the same as oln/core/automatic/image/image1d.hh's). (oln::abstract::mutable_image1d): Forward-declare it. s/abstract::image1d/abstract::mutable_image1d/g. * oln/core/abstract/image/dimension/1d.hh (mutable_image1d) * oln/core/abstract/image/dimension/2d.hh (mutable_image2d) * oln/core/abstract/image/dimension/3d.hh (mutable_image3d): Fix the lookup of impl_at(). * oln/core/type_fun/slice.hh: Remove unnecessary headers. * oln/core/abstract/array.hh, oln/core/abstract/functions.hh, * oln/core/internal/point_nd.hh, oln/morpher/thru_mfun.hh: Add missing headers. * oln/morpher/thru_fun.hh (xtd/mexpr.hh): Include it. (struct case_<tag::fun_operator_1, mlc::pair_<Fun, A>, 1>): Turn into... (struct case_<tag::fun_operator_1, mlc::pair_<Fun, A>, 2>): ...this. * oln/value/proxy.hh: Fix header guards. (oln/core/typedefs.hh): Include it. * oln/Makefile.am (nobase_oln_HEADERS): Add core/abstract/image/computability/hierarchy.hh, core/abstract/image/value_wise_accessibility/hierarchy.hh, core/automatic/image/image_being_value_wise_random_accessible.hh, core/gen/topo_add_isubset.hh, core/gen/fwd_viter_lut.hh, core/internal/fwd_viter_lut.hh and value/two_way.hh. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@688 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mlc/basic.hh: Fix dates in copyright notice. * mlc/Makefile.am (nobase_mlc_HEADERS): Add basic.hh. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@687 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* xtd/Makefile.am (nobase_xtd_HEADERS): Add math/ops.hh. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@686 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 26 Oct, 2006 1 commit
-
-
Roland Levillain authored
* oln/core/abstract/image/hierarchies.hh (image_hierarchy_wrt_value_wise_accessibility): New hierarchy. (image_hybrid_hierarchy_wrt_classical) (image_hierarchy_wrt_value, image_hierarchy_wrt_data_retrieval): Adjust numbers. * oln/core/abstract/image/all.hh (oln/core/abstract/image/value_wise_accessibility/hierarchy.hh): Include it. Adjust. * oln/core/abstract/image/value_wise_accessibility/hierarchy.hh: New. * oln/core/automatic/image/image_being_value_wise_random_accessible.hh: New. * oln/core/internal/fwd_viter_lut.hh, * oln/core/gen/fwd_viter_lut.hh: New. * oln/core/typedefs.hh (fwd_viter_type, mutable_fwd_viter_type) (lut_type, lut_iter_type): New virtual types declarations. * oln/core/lookup_table.hh (lookup_table): Rename the first two parameters to Orig_Value and New_Value. Add two parameters Orig_Value_Compare and New_Value_Compare, defaulting to std::less<Orig_Value> and std::less<New_Value> respectively. (lookup_table::key_type, lookup_table::data_type): Rename typedefs as... (lookup_table::orig_value_type, lookup_table::new_value_type): ...these. (lookup_table::map_type): Remove typedef. (lookup_table::orig_value_type, lookup_table::new_value_type) (lookup_table::const_iterator, lookup_table::iterator): New typedefs. Adjust signatures of methods. (lookup_table::map): Remove method. (lookup_table::begin, lookup_table::end, lookup_table::find) (lookup_table::orig_to_new_map, lookup_table::new_to_orig_map): New methods. (lookup_table::map_): Remove attributes. (lookup_table::orig_to_new_map_, lookup_table::new_to_orig_map_): New attributes. (lookup_table::add): Adjust method. * oln/morpher/with_lut.hh: Adjust. (single_vtype<morpher::with_lut<Image, Lut>, typedef_::fwd_viter_type>) (single_vtype<morpher::with_lut<Image ,Lut>, typedef_::mutable_fwd_viter_type>): New. (with_lut::lut_t, with_lut::value_t, with_lut::rvalue_t) (with_lut::psite_t): Rename typedefs as... (with_lut::lut_type, with_lut::value_type, with_lut::rvalue_type) (with_lut::psite_type): ...these. Adjust. (with_lut::fwd_viter_type, with_lut::mutable_fwd_viter_type): New typedefs. (with_lut::impl_value): New methods. (operator+ (const abstract::image<I>&, const lookup_table<K, D>&)): Turn into... (operator+ (const abstract::image<I>&, lookup_table<K, D>&)): ...this. Adjust. * tests/morphers/with_lut.cc: Augment this test. * oln/value/color/rgb.hh (rgb_<T>::operator==(const rgb_<U>&)): New operator. * TODO: New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@685 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 25 Oct, 2006 8 commits
-
-
Thierry Geraud authored
Oops. * oln/value/two_way.hh: New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@684 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Tiny fix just before pastis. * oln/basics1d.hh (include): Add missing headers. * oln/basics2d.hh: Likewise. * oln/basics3d.hh: Likewise. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@683 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* xtd/math.hh (include): Move ops inclusion into... * xtd/math/ops.hh: ... this new file. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@682 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add two-way morpher. * tests/morphers/two_way_morpher.cc: New. * tests/morphers/Makefile.am: Update. * oln/morpher/two_way.hh: New. * oln/Makefile.am: Update. * oln/core/abstract/image.hh (id_): Unconst. * oln/core/abstract/functions.hh (fun_v2w2v): New. * oln/core/traits.hh (oln_xtd_case_op_id): Fix number. (include): Add commentary. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@681 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add oln::level::apply_inplace. * tests/level/apply_inplace.cc: New. * oln/level/assign.hh: Typo. * oln/level/apply.hh (apply_inplace): New. * oln/level/fill.hh (include): Fix. * oln/core/traits.hh (include): Add xtd/math/ops.hh. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@680 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add oln abstract functions + move slice vtype definitions. * oln/level/assign.hh: New. * oln/level/apply.hh: New. * oln/level/clone.hh: New. * oln/core/abstract/functions.hh: New. * oln/debug/track.hh (dummy): Add code to remove warning. * oln/debug/print.hh (OLN_ENV_2D): Guard specific code. * oln/level/fill.hh (fill): New couple of versions. * oln/basics1d.hh (OLN_ENV_1D): New. * oln/core/typedefs.hh (oln_plain_value, oln_plain_value_): New. * oln/core/iterator_vtypes.hh (slice): Move type definitions to... * oln/morpher/slice.hh: ...here. * oln/basics2d.hh (OLN_ENV_2D): New. * oln/basics3d.hh (OLN_ENV_3D): New. * oln/Makefile.am: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@679 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Introduce ids for images and better oln::morpher::count_rw_. * tests/morphers/count_rw_morpher.cc: Add sample code in comments. * oln/core/abstract/iterator_on_points.hh (operator<<): New. * oln/core/abstract/image.hh (image, operator=): New. (id_, id): New. * oln/core/gen/piter_isubset.hh (isubset_): Remove &. * oln/core/gen/pw_value.hh (ima_): Remove &. (impl_calc): Fix static check. * oln/core/gen/topo_add_isubset.hh (isubset_): Add comment. * oln/core/gen/fwd_piter_bbox.hh (operator<<): Remove; obsolete. * oln/core/gen/bkd_piter_bbox.hh: Likewise. * oln/morpher/add_isubset.hh (operator|): New overloading. (add_isubset): Relax static check. * oln/morpher/internal/image_value_morpher.hh (image_): Remove &. * oln/morpher/internal/image_extension.hh (image_): Remove &. (image_extension): New cpy ctor. * oln/morpher/count_rw.hh (count_rw): Rename the class as... (count_rw_): ...this. (count_rw): New overloading. * oln/value/rw_counter.hh (counter_rw): Rewrite. (rw_counter): Remove & from ima_ type. (ro_counter): Likewise. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@678 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Update xtd bool op traits. * xtd/builtin/traits.hh (bool): Fix partially. * xtd/internal/opmacros.hh (xtd_internal_decl_binary_logical_operator): New macro. * xtd/math/logic.hh: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@677 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 24 Oct, 2006 5 commits
-
-
Thierry Geraud authored
Add point-wise values. * tests/core/pw_value.cc: New. * tests/core/Makefile.am: Update. * oln/core/gen/pw_value.hh: New. * oln/Makefile.am: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@676 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add a morpher to count read-write ops. * tests/morphers/count_rw_morpher.cc: New. * tests/morphers/Makefile.am: Update. * oln/morpher/count_rw.hh: New. * oln/value/proxy.hh: New. * oln/value/rw_counter.hh: New. * oln/Makefile.am: Update. * oln/core/traits_id.hh (unop_vproxy, binop_vproxy): New. (others): Update. * oln/core/typedefs.hh (oln_is_computed, oln_is_computed_): New. * oln/morpher/internal/image_value_morpher.hh (image_value_morpher): New overloading for ctor. (image_): Add & to its type. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@675 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/core/lookup_table.hh: New. * oln/morpher/with_lut.hh: New morpher. * oln/Makefile.am (nobase_oln_HEADERS): Add core/lookup_table.hh and morpher/with_lut.hh. * tests/morphers/with_lut.cc: New test. * tests/morphers/Makefile.am (check_PROGRAMS): Add with_lut. (with_lut_SOURCES): New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@674 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/morpher/add_neighborhood.hh: Fix header guards. (oln::morpher::add_neighborhood): Use the macro stc_get_supers to set the super class. (oln::morpher::add_neighborhood::super_t): Use the macro stc_get_super to define it. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@673 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/color/rgb.hh: Move... * oln/value/color/rgb.hh: ...here. (oln::color): Move the contents of this namespace... (oln::value::color): ...into this one. * oln/value/all.hh: Adjust. * oln/Makefile.am (nobase_oln_HEADERS): s|color/rgb.hh|value/color/rgb.hh|. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@672 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 23 Oct, 2006 5 commits
-
-
Thierry Geraud authored
Fix debug track and disambiguate the 'at' method overloading in const and mutable nD images. * oln/core/abstract/array.hh: New. * oln/debug/track.hh (n_arrays): New. (include): Fix. * oln/core/abstract/image.hh (image): New cpy ctor so fix n_images tracking. * oln/core/abstract/image/dimension/1d.hh: Disambiguate by changing inheritance to virtual + inserting a using directive. * oln/core/abstract/image/dimension/2d.hh: Likewise. * oln/core/abstract/image/dimension/3d.hh: Likewise. * oln/core/1d/array1d.hh (array1d): Add inheritance. * oln/core/2d/array2d.hh: Likewise. * oln/core/3d/array3d.hh: Likewise. * oln/Makefile.am: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@671 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add stack morpher and remove the hack related to indexed mutable access. * tests/morphers/stack_morpher.cc: New. * tests/morphers/Makefile.am: Update. * oln/debug/track.hh: New. * oln/core/automatic/image/mutable_image2d.hh: New. * oln/core/automatic/image/mutable_image3d.hh: New. * oln/core/automatic/image/mutable_image1d.hh: New. * oln/morpher/stack.hh: New. * oln/Makefile.am: Update. * oln/debug/print.hh (println): Remove; too dummy. (operator): New. * oln/level/fill.hh (fill): New specialization for C arrays. * oln/core/automatic/image/image1d.hh: Remove hack of 'at'. * oln/core/automatic/image/image2d.hh: Likewise. * oln/core/automatic/image/image3d.hh: Likewise. * oln/core/abstract/image.hh (image, ~image): Add counting. (include): Update. * oln/core/abstract/image/dimension/1d.hh (image1d): Split partially into... (mutable_image1d): ...this new class. (include): Update. * oln/core/abstract/image/dimension/2d.hh: Likewise. * oln/core/abstract/image/dimension/3d.hh: Likewise. * oln/core/abstract/image/dimension/hierarchy.hh (case_): Update. * oln/core/2d/array2d.hh (memsize): Better sig. (include): Update. * oln/core/2d/image2d.hh (image2d): New overloading for no arg. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@670 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* xtd/vec.hh (ops): Move outside of class. (vec_base_): New specialization for <4, T>. (mk_vec): New overloading for 4 args. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@669 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/core/1d/window1d.hh: New file. * oln/basics1d.hh: Include it. * oln/core/2d/window2d.hh: New file. * oln/basics2d.hh: Include it. * oln/core/3d/window3d.hh: New file. * oln/basics3d.hh: Include it. * oln/Makefile.am (nobase_oln_HEADERS): Add core/1d/window1d.hh, core/2d/window2d.hh and core/3d/window3d.hh * tests/morphers/slice_morpher.cc: Remove FIXME. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@668 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/core/type_fun/slice.hh (TYPE_FUNCTION_slice_piter_NOT_DEFINED_FOR_THIS_PARAMETER): Rename as... (TYPE_FUNCTION_slice_iterator_NOT_DEFINED_FOR_THIS_PARAMETER): ...this. Adjust. (oln::type_fun::slice_piter): Rename as... (oln::type_fun::slice_iterator): ...this. (oln::type_fun::slice_iterator<fwd_qiter2d>) (oln::type_fun::slice_iterator<bkd_qiter2d>) (oln::type_fun::slice_iterator<fwd_qiter3d>) (oln::type_fun::slice_iterator<bkd_qiter3d>) * oln/core/iterator_vtypes.hh: s/slice_piter/slice_iterator/g. (oln::single_vtype<morpher::slice<Image>, typedef_::fwd_qiter_type>) (oln::single_vtype<morpher::slice<Image>, typedef_::bkd_qiter_type>) * oln/morpher/slice.hh: Adjust comments. * tests/morphers/slice_morpher.cc: s/ima_with_nbh/slice/g Test fwd_qiter on oln::morpher::slice. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@667 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 20 Oct, 2006 5 commits
-
-
Roland Levillain authored
* oln/core/1d/image1d.hh (oln/core/1d/topo1d.hh): Include it. (oln/core/gen/topo_lbbox.hh, oln/core/1d/aliases.hh): No longer include them. * oln/core/2d/image2d.hh (oln/core/2d/topo2d.hh): Include it. (oln/core/gen/topo_lbbox.hh, oln/core/2d/aliases.hh): No longer include them. * oln/core/3d/image3d.hh (oln/core/3d/topo3d.hh): Include it. (oln/core/gen/topo_lbbox.hh, oln/core/3d/aliases.hh): No longer include them. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@666 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add morpher based on mutators. * tests/value/accessor.cc: New. * tests/value/Makefile.am: Update. * oln/morpher/thru_mfun.hh: New. * oln/value/accessor.hh: New. * oln/Makefile.am: Update. * oln/morpher/thru_fun.hh: Use shortcuts. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@665 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add mutators and disable mutable facilities of other functions. * xtd/mutator.hh: New. * xtd/abstract/mutable_fun.hh: New. * tests/accessor.cc: New. * xtd/res.hh: Add comment. * xtd/accessor.hh (xtd_decl_accessor): Disable mutable impl_op. (xtd_decl_accessor): Add static check. * xtd/abstract/open_nary_fun.hh (fun_operator_1): Disable mutable impl of default_case_ and add commented mutable_res. (open_nary_fun_<1,E>): Disable mutable version of operator(). * xtd/abstract/plain_nary_fun.hh (plain_nary_fun_<1,E>): Disable mutable version of operator(). * xtd/abstract/plain_fun.hh: Add commented code for xtd_mutable_res. * xtd/mfun.hh (m1fun_): Disable mutable version of impl_calc. * xtd/Makefile.am: Update. * tests/Makefile.am: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@664 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* mlc/basic.hh (unref_): New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@663 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/Makefile.am (nobase_oln_HEADERS): Remove core/gen/topo_slice.hh. s|core/type_fun/slice_piter\.hh|core/type_fun/slice\.hh|. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@662 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 19 Oct, 2006 3 commits
-
-
Roland Levillain authored
* tests/core/image_entry.cc (oln::vtypes<my::image>::fwd_piter_type) (oln::vtypes<my::image>::bkd_piter_type): Remove typedefs. (oln::single_vtype<my::image, typedef_::fwd_piter_type>) (oln::single_vtype<my::image, typedef_::bkd_piter_type>): New git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@661 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* oln/morpher/tags.hh (oln::morpher::tag::slice): New tag. * oln/morpher/slice.hh: New file (new morpher). * oln/core/type_fun/slice.hh: New. * oln/core/iterator_vtypes.hh: Include it. (oln::single_vtype<morpher::slice<Image>, typedef_::fwd_piter_type>) (oln::single_vtype<morpher::slice<Image>, typedef_::bkd_piter_type>): New. * oln/core/1d/topo1d.hh, oln/core/2d/topo2d.hh, * oln/core/3d/topo3d.hh: New (shortcuts). * oln/core/gen/topo_lbbox.hh (oln::vtypes< topo_lbbox_<point> >: Reduce the explanation to a reference to the virtual types of oln::topo_bbox_. (topo_lbbox::topo_lbbox_(const point&, const point&, unsigned)): New ctor. (topo_lbbox::border): New method. * oln/core/gen/topo_bbox.hh (topo_bbox::topo_bbox_(const point&, const point&)): New ctor. * oln/Makefile.am (nobase_oln_HEADERS): Add core/1d/topo1d.hh, core/2d/topo2d.hh, core/3d/topo3d.hh, core/gen/piter_isubset.hh, core/type_fun/slice_piter.hh and morpher/slice.hh. * tests/morphers/slice_morpher.cc: New test. * tests/morphers/Makefile.am (check_PROGRAMS): Add slice_morpher. (slice_morpher_SOURCES): New. * oln/core/gen/bbox_fwd_piter.hh, oln/core/gen/bbox_bkd_piter.hh, * tests/morphers/add_neighborhood_morpher.cc: Fix a comment. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@660 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* tests/sanity/includes.test: Also check headers whose path contains a directory named ``obsolete'' or ``internal''. * oln/core/internal/dpoint_nd.hh (oln/core/traits_id.hh): Include it. * oln/core/internal/tracked_ptr.hh (ostream): Likewise. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@659 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 18 Oct, 2006 2 commits
-
-
Thierry Geraud authored
Make xtd unary functions support argument mutation. * xtd/accessor.hh (xtd_decl_accessor): Add impl_op mutable version to the accessor class. * xtd/mfun.hh (impl_calc): Add mutable version to m1fun_<F>. * xtd/abstract/open_nary_fun.hh (impl, operator): Add mutable versions to open_nary_fun_<1, E>. * xtd/abstract/plain_nary_fun.hh (operator): Add mutable version to plain_nary_fun_<1, E>. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@658 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* xtd/accessor.hh (xtd_decl_accessor): Fix typo in method access. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@657 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 17 Oct, 2006 6 commits
-
-
Thierry Geraud authored
Add forward declaration files. * oln/core/aliases.hh: New. * oln/core/fwd_decls.hh: New. * oln/core/1d/fwd_decls.hh: New. * oln/core/2d/fwd_decls.hh: New. * oln/core/3d/fwd_decls.hh: New. * oln/core/gen/fwd_decls.hh: New. * oln/morpher/fwd_decls.hh: New. * oln/debug/typename.hh: New. * oln/Makefile.am: Update. Sketch the mechanism for 'plain' and 'ch_value'. * oln/core/type_fun/plain.hh: New. * oln/core/type_fun/ch_value.hh: New. * oln/core/typedefs.hh (oln_plain, oln_plain_): New. * oln/core/image_entry.hh (concrete_type): Remove; obsolete. * oln/core/abstract/image.hh (topo, operator): Change sigs. (topo_t, psite_t, rvalue_t): Remove; now unused. (decl): Uncomment static checks. * oln/core/abstract/image/computability/hierarchy.hh (plain): New. * oln/core/1d/image1d.hh (real_type): Remove; obsolete. * oln/core/2d/image2d.hh: Likewise. * oln/core/3d/image3d.hh: Likewise. * oln/morpher/value_cast.hh (class): Change into struct for homogeneity for other morphers. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@656 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* configure.ac (olena/tests/algorithms/Makefile) (olena/tests/core/Makefile, olena/tests/io/Makefile) (olena/tests/morphers/Makefile, olena/tests/value/Makefile): Configure them. * bootstrap: New. Stolen from the LRDE Tiger Compiler. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@655 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* tests/fill.cc: Move file... * tests/algorithms/fill.cc: ...here. * tests/at.cc, tests/dpoint2d.cc, tests/grid.cc, tests/image1d.cc, * tests/image2d.cc, tests/image3d.cc, tests/image_entry.cc, * tests/npoints.cc, tests/point2d.cc, tests/window2d.cc: Move files... * tests/core/at.cc, tests/core/dpoint2d.cc, tests/core/grid.cc, * tests/core/image1d.cc, tests/core/image2d.cc, * tests/core/image3d.cc, tests/core/image_entry.cc, * tests/core/npoints.cc, tests/core/point2d.cc, * tests/core/window2d.cc: ...here. * tests/io_pnm.cc: Move file... * tests/io/io_pnm.cc: ...here. * tests/add_neighborhood_morpher.cc, tests/identity_morpher.cc, * tests/morphers.cc, tests/value_cast.cc: Move files... * tests/morphers/add_neighborhood_morpher.cc, * tests/morphers/identity_morpher.cc, tests/morphers/morphers.cc, * tests/morphers/value_cast.cc:: ...here. * tests/grey.cc: Move file... * tests/value/grey.cc: ...here. * tests/algorithms/Makefile.am, tests/core/Makefile.am, * tests/io/Makefile.am, tests/morphers/Makefile.am, * tests/value/Makefile.am: New. * tests/Makefile.am: Adjust. * tests/sanity/Makefile.am (CPPFLAGS): Add `-I$(srcdir)/..'. * oln/Makefile.am: Remove core/automatic/image/image_being_mutable.hh. Add core/automatic/image/mutable_image.hh. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@654 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add basic function to remove '*', '&', "const", and "[]" from types. * mlc/basic.hh: New. * mlc/is_a.hh (mlc_is_a, mlc_is_a_): Use basic_ for T. (mlc_is_not_a, mlc_is_not_a_): Likewise. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@653 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Replace the 'is_mutable' property by checking the 'lvalue' type. * oln/core/automatic/image/image_being_mutable.hh: Rename as... * oln/core/automatic/image/mutable_image.hh: ...this. (image_being_mutable): Rename as... (mutable_image): ...this. * oln/level/fill.hh: Update. * oln/core/typedefs.hh (is_mutable_type): Remove; obsolete. * oln/core/abstract/image/mutability/hierarchy.hh (include) : Update. (image_being_mutable): Rename as... (mutable_image): ...this. (case_): Rely now on mlc_is_ok(oln_lvalue(E)). * oln/core/1d/image1d.hh: Update. * oln/core/2d/image2d.hh: Update. * oln/core/3d/image3d.hh: Update. * oln/core/gen/mapimage.hh: Update. * oln/morpher/value_cast.hh: Update. * oln/morpher/thru_fun.hh: Update. * oln/morpher/internal/image_value_morpher.hh: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@652 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Add computability image hierarchy. * oln/core/abstract/image/computability: New. * oln/core/abstract/image/computability/hierarchy.hh: New. * oln/core/typedefs.hh (is_computed_type): New. * oln/core/image_entry.hh (is_computed_type): New in vtypes. * oln/core/abstract/image.hh (decl): Update. * oln/core/abstract/image/hierarchies.hh (image_hierarchy_wrt_computability): New. (hierarchy): Update ids. * oln/core/abstract/image/all.hh (include): Add computability/hierarchy.hh. * oln/core/1d/image1d.hh: Update. * oln/core/2d/image2d.hh: Likewise. * oln/core/3d/image3d.hh: Likewise. * oln/core/gen/mapimage.hh: Likewise. * oln/morpher/value_cast.hh: Likewise. * oln/morpher/thru_fun.hh: Likewise. * oln/morpher/internal/image_value_morpher.hh: Likewise. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@651 4aad255d-cdde-0310-9447-f3009e2ae8c0
-