[xsd-users] xsd and member functions

giuseppe ferrari giuseppe500 at yahoo.it
Tue Jul 2 15:17:51 EDT 2013


hello.
my question is:
is possible to add a simple member function to all generated types of xsd from an .xsd ?
Because i wish use the visitor pattern for my purposes, then i must place a virtual function in my base class 
virtual void visit(CBaseVisitor * pVisit){
};
and in all derived classes i must add a function 
type::visit(CBaseVisitor* pVisitor)
{
    pVisitor->visit(this);
}

is possible with your xsd.exe?


thanks.


More information about the xsd-users mailing list