Depictor.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (C) 2003-2008 Greg Landrum and Rational Discovery LLC
00003 //
00004 //   @@ All Rights Reserved  @@
00005 //
00006 #ifndef _RD_DEPICTOR_H_
00007 #define _RD_DEPICTOR_H_
00008 #include <string>
00009 #ifdef WIN32_DLLBUILD
00010 #include <windows.h>
00011 #endif
00012 
00013 #include <GraphMol/RDKitBase.h>
00014 #include <GraphMol/FileParsers/FileParsers.h>
00015 #include <GraphMol/SmilesParse/SmilesWrite.h>
00016 
00017 namespace RDKit {
00018 #ifdef WIN32_DLLBUILD
00019   typedef  void (CALLBACK* Depictor_TwoArgFunc)(const char* arg1, const char *arg2);
00020   typedef  void (CALLBACK* Depictor_OneArgFunc)(const char* arg1);
00021   int SmilesToMolFileDLL(std::string smi,std::string fName,
00022                          std::string dllName="depict32-0.dll");
00023   int Add2DCoordsToMolDLL(ROMol &mol,std::string tempFilename="temp-conv.mol");
00024   int Add2DCoordsToMol(ROMol &mol,bool useDLL=true);
00025 #else
00026   int Add2DCoordsToMol(ROMol &mol,bool useDLL=false);
00027 #endif
00028 }
00029 
00030 #endif

Generated on Sat May 24 08:36:32 2008 for RDCode by  doxygen 1.5.3