new version of Mirror available

Cheers, a new version of Mirror library, with quite a few changes, is available both in the sandbox and in the vault. Important changes in this version: - added two functions; for_each and reverse_for_each working with meta_class<>::attributes, meta_class<>::all_attributes and meta_class<>::base_classes, which allow to call a functor for every member attribute and base class of a reflected class. - added at and size algorithm working with attributes, all_attributes and base_classes of a meta_class<> - removed the original for_each static functions from meta_class::attributes and meta_class::all_attributes - updated existing examples to show the new functionality - added an 'alpha' implementation of meta_class traversal that 'guides' a custom visitor through the structure of the reflected class. Two versions ('deep' and 'flat' traversal) are available. - added a new example showing traversal by a sample visitor, that is writing out XML-like info about the given class to stdout, with several elaborate classes. any comments are welcome. Best, ________________ ::matus_chochlik

Hmmm, today I noticed that some header files were not committed successfully, which caused compilation errors on other machines (tortoise did not report any errors though). Sorry about that. Anyway, I have fixed that, and the current version (0.1.17) has been successfully compiled with MSVC++ 2008 EE on Vista and with gcc (4.2.1 and 4.3.0) on OpenSuSE. In order to avoid further svn related problems I recommend doing a clean checkout. ---------- Forwarded message ---------- From: Matus Chochlik <chochlik@gmail.com> Date: Thu, May 1, 2008 at 6:33 PM Subject: [boost] new version of Mirror available To: boost@lists.boost.org Cheers, a new version of Mirror library, with quite a few changes, is available both in the sandbox and in the vault. Important changes in this version: - added two functions; for_each and reverse_for_each working with meta_class<>::attributes, meta_class<>::all_attributes and meta_class<>::base_classes, which allow to call a functor for every member attribute and base class of a reflected class. - added at and size algorithm working with attributes, all_attributes and base_classes of a meta_class<> - removed the original for_each static functions from meta_class::attributes and meta_class::all_attributes - updated existing examples to show the new functionality - added an 'alpha' implementation of meta_class traversal that 'guides' a custom visitor through the structure of the reflected class. Two versions ('deep' and 'flat' traversal) are available. - added a new example showing traversal by a sample visitor, that is writing out XML-like info about the given class to stdout, with several elaborate classes. any comments are welcome. Best, ________________ ::matus_chochlik

Hi, A new version (0.1.23) of Mirror library is available in both sandbox and valut. It sports multiple new features including: - Iterators for meta_class' own member attributes, all member attributes and base classes - begin, end, find_if, rbegin, rend, reverse_find_if templates - iterator comparison templates (equal, not_equal, less, less_equal, greater and greater_equal) - An example begin_end.cpp in the example/algorithms subdir that shows how the iterators work. Tested with MSVC++ 2008 EE and gcc 4.2.1 best regards, -- ________________ ::matus_chochlik

Hello, ----- Original Message ----- From: "Matus Chochlik" <chochlik@gmail.com> To: <boost@lists.boost.org> Sent: Saturday, May 10, 2008 1:21 PM Subject: Re: [boost] new version of Mirror available
Hi,
A new version (0.1.23) of Mirror library is available in both sandbox and valut.
Could you give a pointer to the html documentation. The documentation on the sandbox and vault do not contains the html form. Thanks in advance Vicente

Hello Vincente,
Hello,
A new version (0.1.23) of Mirror library is available in both sandbox and valut.
Could you give a pointer to the html documentation. The documentation on the sandbox and vault do not contains the html form.
Currently the documentation is available only as xsl transformed xml files. I chose to do it that way because xml allows to capture the semantics much better than html (obviously) does. Unfortunatelly this means that right now, it is displayed properly only by IE6+ and the docs still need a lot of work anyway ;) I'm hoping to fix the xsl templates and do export to html docs ASAP, but this week I'm doing the final patches on my dissertation so it's going to take some time yet. Sorry for the inconvenience. Maybe a look at the examples can give you some insight what mirror can currently do. Thanks for your interest
Thanks in advance
Vicente
________________ ::matus_chochlik

----- Original Message ----- From: "Matus Chochlik" <chochlik@gmail.com> To: <boost@lists.boost.org> Sent: Wednesday, May 21, 2008 9:30 AM Subject: Re: [boost] new version of Mirror available
Hello Vincente,
Hello,
A new version (0.1.23) of Mirror library is available in both sandbox and valut.
Could you give a pointer to the html documentation. The documentation on the sandbox and vault do not contains the html form.
Currently the documentation is available only as xsl transformed xml files. I chose to do it that way because xml allows to capture the semantics much better than html (obviously) does.
Unfortunatelly this means that right now, it is displayed properly only by IE6+ and the docs still need a lot of work anyway ;)
I'm hoping to fix the xsl templates and do export to html docs ASAP, but this week I'm doing the final patches on my dissertation so it's going to take some time yet.
Sorry for the inconvenience. Maybe a look at the examples can give you some insight what mirror can currently do.
Thanks anyway, I can use IE even if I don't use to. Vicente
participants (2)
-
Matus Chochlik
-
vicente.botet