My bad. Actually, now that I actually look in the jar file, it seems that it is called vectorUnsignedInt and is present in package org.openbabel.
On 3 March 2016 at 11:15, Noel O'Boyle <baoille...@gmail.com> wrote: > Looks like it's called VectorUnsignedInt in Java. This will be a > member of a class called something like openbabel, OpenBabel, > Openbabel. > > - Noel > > On 2 March 2016 at 20:56, Geoffrey Hutchison <geoff.hutchi...@gmail.com> > wrote: >> OBFingerprint fprinter = OBFingerprint.FindFingerprint("FP2"); >> OBVectorData fp = vectorUnsignedInt(); // ??? this is the part I >> could not integrate from python >> OBVectorData fp2 = vectorUnsignedInt(); // ??? it gives an >> error saying vectorUnsignedInt() is undefined >> >> >> >> The Java interface is created using the SWIG tool (http://swig.org/). The >> "vectorUnsignedInt" is a piece in the Open Babel python interface that helps >> to wrap the C++ std::vector<unsigned int> type. >> >> I see a few hits on a search for "swig java c++ vector" but don't have the >> time right now to sift through. My guess is that code needs to be added to >> scripts/openbabel-java.i but it looks like there is a wrapper already in >> that java interface file. >> >> -Geoff >> >> >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 >> _______________________________________________ >> OpenBabel-discuss mailing list >> OpenBabel-discuss@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss >> ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss