Folks, <div><br></div><div>I am a newbie to SIP. I am trying to wrap couple of classes and it was going good till I hit this problem. </div><div><br></div><div>So here is my use case:</div><div><br></div><div>Lets say I have two classes Foo and Bar. I already have Bar wrapped (not via SIP though) and now I am trying to wrap Foo using SIP. </div>
<div><br></div><div>My Foo looks like this:</div><div><br></div><div>Class Foo: public Bar</div><div>{</div><div>};</div><div><br></div><div><br></div><div>I don't want to wrap Bar again with SIP since this will trigger a chain reaction. In my SIP I have done something like this:</div>
<div><br></div><div>%Module FooMod</div><div><br></div><div>class Foo: Bar</div><div>{</div><div>%TypeHeaderCode</div><div>#include<Foo.h></div><div>%End</div><div>...</div><div>...</div><div>};</div><div><br></div>
<div>But then if I don't wrap Bar, I get Bar undefined. Is there a way around it? </div><div><br></div><div>Many thanks for your help. </div><div><br></div><div>Best,</div><div><br></div>