proto-1.0 97: Add concrete type

Index: ChangeLog from Nicolas Widynski <nicolas.widynski@lrde.epita.fr> * oln/core/abstract/image.hh: Add concrete type. * oln/core/abstract/image_with_data.hh: Likewise. * oln/core/properties.hh: Likewise. abstract/image.hh | 2 ++ abstract/image_with_data.hh | 1 + properties.hh | 1 + 3 files changed, 4 insertions(+) Index: oln/core/abstract/image.hh --- oln/core/abstract/image.hh (revision 96) +++ oln/core/abstract/image.hh (working copy) @@ -60,6 +60,7 @@ { typedef mlc::true_type user_defined_; + mlc_decl_prop(category::image, concrete_type); mlc_decl_prop(category::image, value_type); mlc_decl_prop(category::image, point_type); mlc_decl_prop(category::image, size_type); @@ -95,6 +96,7 @@ }; + mlc_register_prop(category::image, concrete_type); mlc_register_prop(category::image, value_type); mlc_register_prop(category::image, point_type); mlc_register_prop(category::image, size_type); Index: oln/core/abstract/image_with_data.hh --- oln/core/abstract/image_with_data.hh (revision 96) +++ oln/core/abstract/image_with_data.hh (working copy) @@ -65,6 +65,7 @@ { // intrusive property: typedef is_a<abstract::readwrite_image> image_constness_type; + typedef E concrete_type; }; Index: oln/core/properties.hh --- oln/core/properties.hh (revision 96) +++ oln/core/properties.hh (working copy) @@ -58,6 +58,7 @@ struct value_storage_type; struct storage_type; struct point_type; + struct concrete_type; struct dpoint_type; struct fwd_piter_type; struct bkd_piter_type; -- Widynski Nicolas Promo 2007
participants (1)
-
Nicolas Widynski