Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _RD_SUBSTRUCT_UTILS_H_
00011 #define _RD_SUBSTRUCT_UTILS_H_
00012
00013 #include "SubstructMatch.h"
00014 #include <boost/smart_ptr.hpp>
00015
00016 namespace RDKit{
00017 class ROMol;
00018 class Atom;
00019 class Bond;
00020 typedef boost::shared_ptr<Atom> ATOM_SPTR;
00021 typedef boost::shared_ptr<Bond> BOND_SPTR;
00022
00023 double toPrime(const MatchVectType &v);
00024 void removeDuplicates(std::vector<MatchVectType> &v,unsigned int nAtoms);
00025 bool atomCompat(const ATOM_SPTR a1,const ATOM_SPTR a2);
00026 bool chiralAtomCompat(const ATOM_SPTR a1,const ATOM_SPTR a2);
00027 bool bondCompat(const BOND_SPTR b1,const BOND_SPTR b2);
00028 }
00029
00030
00031 #endif