Hi,

On Sat, Mar 19, 2011 at 10:47 PM, andi <ad...@mizzou.edu> wrote:
> I see, I'm pretty close to getting it to work, but I'm having a little
> trouble with the CompileMoleculeQuery as I'm still learning C++.
>
> Instead of inserting code, i've inserted a screenshot, this way it's much
> readable...

You also need a constructor that calls the base class constructor, see:

http://pastebin.com/k6Gy0zY7

Tim

>
> Thanks,
>
> Andi
>
> I'm not sure if the CompileMoleculeQuery function should have a different
> name or not.
> I also tried to instantiate my own class which is a subclass of OBQueryAtom,
> but it gave some errors.
>
> What should be changed in this method and QueryAtom subclass?
> http://forums.openbabel.org/file/n3390317/isomorphism.png
>
>
> --
> View this message in context: 
> http://forums.openbabel.org/Isomorphism-between-cyclo-pentane-and-pentane-tp3389855p3390317.html
> Sent from the General discussion mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to