AtomTyper.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (C) 2004-2006 Rational Discovery LLC
00003 //
00004 //   @@ All Rights Reserved @@
00005 //  This file is part of the RDKit.
00006 //  The contents are covered by the terms of the BSD license
00007 //  which is included in the file license.txt, found at the root
00008 //  of the RDKit source tree.
00009 //
00010 #ifndef _RD_UFFATOMTYPER_H__
00011 #define _RD_UFFATOMTYPER_H__
00012 
00013 #include <vector>
00014 #include <string>
00015 
00016 namespace ForceFields {
00017   namespace UFF {
00018     class AtomicParams;
00019   }
00020 }
00021 namespace RDKit {
00022   class ROMol;
00023   class Atom;
00024 
00025   namespace UFF {
00026     typedef std::vector<const ForceFields::UFF::AtomicParams *> AtomicParamVect;
00027 
00028     std::pair<AtomicParamVect,bool> getAtomTypes(const ROMol &mol,const std::string &paramData="");
00029 
00030     namespace Tools {
00031       // these functions are primarily exposed so they can be tested.
00032       void addAtomChargeFlags(const Atom *atom,std::string &atomKey,
00033                               bool tolerateChargeMismatch=true);
00034       std::string getAtomLabel(const Atom *atom);
00035     }
00036 
00037   }
00038 }
00039 
00040 
00041 #endif