ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/brains/Register.cpp
(Generate patch)

Comparing trunk/OOPSE-4/src/brains/Register.cpp (file contents):
Revision 2427 by chuckv, Mon Nov 14 21:29:36 2005 UTC vs.
Revision 2443 by tim, Wed Nov 16 21:20:11 2005 UTC

# Line 66 | Line 66 | namespace oopse {
66   #include "lattice/LatticeCreator.hpp"
67   #include "lattice/FCCLattice.hpp"
68  
69 + #include "openbabel/amberformat.hpp"
70 + #include "openbabel/fingerprintformat.hpp"
71 + #include "openbabel/gromos96format.hpp"
72 + #include "openbabel/oopseformat.hpp"
73 + #include "openbabel/pdbformat.hpp"
74 + #include "openbabel/povrayformat.hpp"
75 + #include "openbabel/smilesformat.hpp"
76 + #include "openbabel/tinkerformat.hpp"
77 + #include "openbabel/xyzformat.hpp"
78 +
79 +
80   namespace oopse {
81  
82  
# Line 103 | Line 114 | namespace oopse {
114      LatticeFactory::getInstance()->registerLattice(new LatticeBuilder<FCCLattice>("FCC"));
115    }
116  
117 +  void registerOBFormats(){
118 +    static OpenBabel::AmberPrepFormat amberFormatInstance;
119 +    static OpenBabel::FingerprintFormat fingerprintFormatInstance;
120 +    static OpenBabel::OOPSEFormat oopseFormatInstance;    
121 +    static OpenBabel::PDBFormat pdbFormatInstance;
122 +    static OpenBabel::PovrayFormat povaryFormatInstance;
123 +    static OpenBabel::SMIFormat smilesFormatInstance;
124 +    static OpenBabel::TinkerFormat tinkerFormatInstance;
125 +    static OpenBabel::XYZFormat xyzFormatInstance;    
126 +  }
127 +  
128    void registerAll() {
129      registerForceFields();
130      registerIntegrators();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines