Re: [OpenBabel-Devel] OBGlobalDataBase

2012-11-09 Thread David van der Spoel
On 2012-11-09 19:39, Geoffrey Hutchison wrote: >> class. Somehow I expected the constructor of OBGlobalDataBase would get >> called when I instantiated and object of the new class, and that would >> read the file, but this doesn't seem to happen. Why not? Should I call >> the parent constructor exp

[OpenBabel-Devel] OBGlobalDataBase

2012-11-08 Thread David van der Spoel
Hi, apologies for question C++ newbie. I've defined a derivative class from OBGlobalDataBase in data.cpp, implemented the ParseLine function for my class. Somehow I expected the constructor of OBGlobalDataBase would get called when I instantiated and object of the new class, and that would rea