1. 07 Sep, 2006 1 commit
    • 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
  2. 04 Sep, 2006 1 commit
    • 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
  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 3 commits
    • 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
      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
  5. 22 Apr, 2006 1 commit
  6. 21 Apr, 2006 2 commits
    • Roland Levillain's avatar
      Fix copyright notices. · bab301fd
      Roland Levillain authored
      	* extended/xtd/res.hh,
      	* extended/xtd/math.hh,
      	* extended/xtd/cast.hh,
      	* extended/xtd/cfun.hh,
      	* extended/xtd/mexpr.hh,
      	* extended/xtd/math/log.hh,
      	* extended/xtd/math/floor.hh,
      	* extended/xtd/math/tan.hh,
      	* extended/xtd/math/log10.hh,
      	* extended/xtd/math/atan.hh,
      	* extended/xtd/math/cos.hh,
      	* extended/xtd/math/acos.hh,
      	* extended/xtd/math/sqrt.hh,
      	* extended/xtd/math/sin.hh,
      	* extended/xtd/math/tanh.hh,
      	* extended/xtd/math/asin.hh,
      	* extended/xtd/math/cosh.hh,
      	* extended/xtd/math/id.hh,
      	* extended/xtd/math/exp.hh,
      	* extended/xtd/math/logic.hh,
      	* extended/xtd/math/sinh.hh,
      	* extended/xtd/math/abs.hh,
      	* extended/xtd/math/pow.hh,
      	* extended/xtd/math/atan2.hh,
      	* extended/xtd/math/includes.hh,
      	* extended/xtd/math/arith.hh,
      	* extended/xtd/math/constraints.hh,
      	* extended/xtd/math/ceil.hh,
      	* extended/xtd/math/cmp.hh,
      	* extended/xtd/literal.hh,
      	* extended/xtd/args.hh,
      	* extended/xtd/mfun.hh,
      	* extended/xtd/abstract/nary_fun.hh,
      	* extended/xtd/abstract/open_nary_fun.hh,
      	* extended/xtd/abstract/plain_nary_fun.hh,
      	* extended/xtd/abstract/fun_expr.hh,
      	* extended/xtd/abstract/meta_nary_fun.hh,
      	* extended/xtd/abstract/fun.hh,
      	* extended/xtd/abstract/open_fun.hh,
      	* extended/xtd/abstract/plain_fun.hh,
      	* extended/xtd/abstract/meta_fun.hh,
      	* extended/xtd/abstract/fun_nary_expr.hh,
      	* extended/xtd/optraits.hh,
      	* extended/xtd/traits.hh,
      	* extended/xtd/builtin/traits.hh,
      	* extended/xtd/arg.hh,
      	* extended/xtd/bind.hh,
      	* extended/xtd/internal/opmacros.hh,
      	* extended/xtd/internal/mlc.hh,
      	* metalic/mlc/elt.hh,
      	* metalic/mlc/ret.hh,
      	* metalic/mlc/int.hh,
      	* metalic/mlc/pair.hh,
      	* metalic/mlc/bool.hh,
      	* metalic/mlc/flags.hh,
      	* metalic/mlc/comma.hh,
      	* metalic/mlc/logic.hh,
      	* metalic/mlc/if.hh,
      	* metalic/mlc/values.hh,
      	* metalic/mlc/typedef.hh,
      	* metalic/mlc/assert.hh,
      	* metalic/mlc/switch.hh,
      	* metalic/mlc/valist.hh,
      	* metalic/mlc/implies.hh,
      	* metalic/mlc/abstract/type.hh,
      	* metalic/mlc/abstract/bexpr.hh,
      	* metalic/mlc/abort.hh,
      	* metalic/mlc/to_string.hh,
      	* metalic/mlc/wrap.hh,
      	* metalic/mlc/is_a.hh,
      	* metalic/mlc/case.hh,
      	* metalic/mlc/value.hh,
      	* metalic/mlc/char.hh,
      	* metalic/mlc/contract.hh,
      	* metalic/mlc/uint.hh,
      	* metalic/mlc/cmp.hh,
      	* metalic/mlc/bexpr.hh,
      	* static/tests/properties.cc,
      	* static/tests/entry.cc,
      	* static/tests/any.cc: Update the FSF postal address.
      
      	* extended/tests/cfun.cc,
      	* extended/tests/id.cc,
      	* extended/tests/bind.cc,
      	* extended/tests/bi_traits/bool.cc,
      	* extended/tests/bi_traits/char.cc,
      	* extended/tests/bi_traits/sint.cc,
      	* extended/tests/bi_traits/uint.cc,
      	* extended/tests/bi_traits/schar.cc,
      	* extended/tests/bi_traits/slong.cc,
      	* extended/tests/bi_traits/sshort.cc,
      	* extended/tests/bi_traits/uchar.cc,
      	* extended/tests/bi_traits/ushort.cc,
      	* extended/tests/bi_traits/ulong.cc,
      	* extended/tests/bi_traits/float.cc,
      	* extended/tests/bi_traits/ldouble.cc,
      	* extended/tests/bi_traits/double.cc,
      	* extended/tests/cos.cc,
      	* extended/tests/abs.cc,
      	* extended/tests/optraits.cc,
      	* extended/tests/lit.cc,
      	* extended/tests/math.cc,
      	* extended/tests/cast.cc,
      	* metalic/tests/is_a.cc,
      	* metalic/tests/case.cc,
      	* metalic/tests/if.cc,
      	* metalic/tests/typedef.cc,
      	* metalic/tests/or.cc,
      	* metalic/tests/switch.cc,
      	* metalic/tests/gcase.cc,
      	* metalic/tests/protected.cc,
      	* metalic/tests/ret.cc,
      	* static/stc/entry.hh,
      	* static/stc/any.hh,
      	* static/stc/properties.hh: Add missing copyright notices.
      
      	* olena/oln/core/typedefs.hh,
      	* olena/oln/core/abstract/image.hh,
      	* olena/oln/core/abstract/image_entry.hh,
      	* olena/oln/core/abstract/macros.hh,
      	* olena/oln/core/abstract/image_dimension.hh,
      	* olena/oln/core/abstract/any.hh,
      	* olena/oln/core/abstract/internal/image_impl.hh: .
      	* olena/tests/image_entry.cc: Fix the FSF postal address.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@465 4aad255d-cdde-0310-9447-f3009e2ae8c0
      bab301fd
    • 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