SmartsWrite.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_SMARTSWRITE_H
00011 #define _RD_SMARTSWRITE_H
00012 
00013 #include <string>
00014 
00015 namespace RDKit {
00016   class QueryAtom;
00017   class QueryBond;
00018   namespace SmartsWrite {
00019     //! returns the SMARTS for a QueryAtom
00020     std::string GetAtomSmarts(const QueryAtom *qatom);
00021     //! returns the SMARTS for a QueryBond
00022     std::string GetBondSmarts(const QueryBond *qbond);
00023   }
00024 
00025   class ROMol;
00026   //! returns the SMARTS for a molecule
00027   std::string MolToSmarts(ROMol &mol,bool doIsomericSmarts=false);
00028 };
00029 
00030 #endif