[xsd-users] Visitors (again?)
Timothy Astle
timothy.astle at caris.com
Mon Sep 15 07:39:03 EDT 2014
That would be ideal for our situation. We have some complicated models
to traverse.
Any idea when such functionality would be introduced?
Tim
On 13/09/2014 6:58 PM, Boris Kolpackov wrote:
> Oliver, Timothy,
>
> Oliver Schneider <xsd-users at oli-obk.de> writes:
>
>> Then add a void accept(Visitor& v) { v.visit(*this); } function.
>>
>> [...]
> Just wanted to add a note in case others are reading this: this
> approach works well if you have a relatively small number of
> classes that you want to visit. For a large number of classes
> this can become quite a job. One idea that I am considering
> is to add support for code generation plugins to XSD. With
> such a plugin one would be able to add (i.e., generate) such
> an accept() function quite easily in every generated class.
>
> Boris
>
>
--
Tim Astle
Development Manager
Web Technologies
*CARIS* <http://www.caris.com>
115 Waggoners Lane
Fredericton, New Brunswick
Canada E3B 2L4
Tel: +1.506.458.8533 Fax: +1.506.459.3849
www.caris.com <http://www.caris.com>
*Connect with CARIS*
Twitter <http://www.twitter.com/CARIS_GIS> | LinkedIn
<http://www.linkedin.com/groups?mostPopular=&gid=3217878> | Facebook
<https://www.facebook.com/pages/CARIS-The-Marine-GIS-Experts/123907500987669?v=app_4949752878>
| Google+
<https://plus.google.com/b/114389770462919844434/114389770462919844434/posts>
| YouTube <http://www.youtube.com/user/CARISGIS>
Download your free copy of CARIS Easy View today!
www.caris.com/easyview <http://www.caris.com/easyview>
_________________________________________________________________________
This email and any files transmitted with it are confidential and
intended only for the addressee(s). If you are not the intended
recipient(s) please notify us by email reply. You should not use,
disclose, distribute or copy this communication if received in error.
Any views or opinions expressed in this email are solely those of the
author and do not necessarily represent those of the company. No binding
contract will result from this email until such time as a written
document is signed on behalf of the company.
More information about the xsd-users
mailing list