--- trunk/src/brains/Register.cpp 2005/11/14 21:29:36 728 +++ trunk/src/brains/Register.cpp 2005/11/16 21:20:11 744 @@ -66,6 +66,17 @@ #include "lattice/LatticeCreator.hpp" #include "lattice/FCCLattice.hpp" +#include "openbabel/amberformat.hpp" +#include "openbabel/fingerprintformat.hpp" +#include "openbabel/gromos96format.hpp" +#include "openbabel/oopseformat.hpp" +#include "openbabel/pdbformat.hpp" +#include "openbabel/povrayformat.hpp" +#include "openbabel/smilesformat.hpp" +#include "openbabel/tinkerformat.hpp" +#include "openbabel/xyzformat.hpp" + + namespace oopse { @@ -103,6 +114,17 @@ namespace oopse { LatticeFactory::getInstance()->registerLattice(new LatticeBuilder("FCC")); } + void registerOBFormats(){ + static OpenBabel::AmberPrepFormat amberFormatInstance; + static OpenBabel::FingerprintFormat fingerprintFormatInstance; + static OpenBabel::OOPSEFormat oopseFormatInstance; + static OpenBabel::PDBFormat pdbFormatInstance; + static OpenBabel::PovrayFormat povaryFormatInstance; + static OpenBabel::SMIFormat smilesFormatInstance; + static OpenBabel::TinkerFormat tinkerFormatInstance; + static OpenBabel::XYZFormat xyzFormatInstance; + } + void registerAll() { registerForceFields(); registerIntegrators();