[OpenBabel-Devel] issues building openbabel when subclassing OBMol

2013-01-25 Thread andi
Hi everyone, I have an application where I need to add additional information to OBAtom, and OBBond so i decided to subclass them. Because I subclassed ABAtom, and OBBond, then I have to subclass OBMol to be able to create atoms/bonds of the newer version. The problem i am running into is lin

[OpenBabel-Devel] issues building openbabel when subclassing OBMol

2013-01-25 Thread Dhroso, Andi (MU-Student)
Hi everyone, I have an application where I need to add additional information to OBAtom, and OBBond so i decided to subclass them. Because I subclassed ABAtom, and OBBond, then I have to subclass OBMol to be able to create atoms/bonds of the newer version. The problem i am running into is l

Re: [OpenBabel-Devel] issues building openbabel when subclassing OBMol

2013-01-25 Thread Noel O'Boyle
Rather than subclass have you considered attached GenericData of some sort? - Noel On 23 January 2013 18:58, Dhroso, Andi (MU-Student) wrote: > Hi everyone, > I have an application where I need to add additional information to > OBAtom, and OBBond so i decided to subclass them. Because I sub

Re: [OpenBabel-Devel] issues building openbabel when subclassing OBMol

2013-01-25 Thread Dhroso, Andi (MU-Student)
Ahh, actually I didn't even look for generic data. I may look into it and see how nicely will play with the current design. On the other hand, the building issue is fixed. The issue was me not implementing all of the virtual functions from the base class. Thanks for your suggestion, really appr