Forget about this question too, I found the answer in the default
genwrapper.conf file:

configure reflector "vLog::Source"
    configure method
"__void__log__wxString__wxString__wxString__wxString__..._S"
        replace with ""
    end
end

;-)

Manu.


2007/12/12, Emmanuel Roche <[EMAIL PROTECTED]>:
>
> It's okay, forget this, I found the source of the problem:
>
> it's because in my RefPtr class definition I had:
>
> RefPtr(const RefPtr<T>& rp); as declaration of the copy constructor
>
> I changed this to RefPtr(const RefPtr& rp); and it did the trick !!
>
> But still, I have an other question : is there a way to tell the
> genwrapper not to take a given member function into account ? (maybe an
> option for the genwrapper.conf file ?)
>
> regards,
>
> Manu.
>
>
>
> 2007/12/12, Emmanuel Roche <[EMAIL PROTECTED]>:
> >
> > Hello everyone I've got a problem here with the result of genwrapper:
> >
> > here is an example of what I get:
> >
> > BEGIN_VALUE_REFLECTOR(vBase::RefPtr< vXML::Attribute >)
> >     I_DeclaringFile("base/RefPtr.h");
> >     I_Constructor0(____RefPtr,
> >                    "",
> >                    "");
> >     I_Constructor1(IN, vXML::Attribute *, p,
> >                    Properties::NON_EXPLICIT,
> >                    ____RefPtr__T_P1,
> >                    "",
> >                    "");
> >     I_Constructor1(IN, const vBase::RefPtr< vXML::Attribute ><
> > vXML::Attribute > &, rp,
> >                    Properties::NON_EXPLICIT,
> >                    ____RefPtr__C5_RefPtrT1_T__R1,
> >                    "",
> >                    "");
> >
> > etc etc...
> >
> > The problem comes from the red section... as you can see, the templated
> > class is repeated !... If I correct this small problem, my wrappers compile
> > just fine... it would be a pity to renounce here, so I'm just about to check
> > where the problem may come from in GenWrapper sources... any indication
> > would be really appreciated if someone has an idea how to solve this.
> >
> > regards,
> >
> > Manu.
> >
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to