19 #ifndef OST_CONOP_COMPOUND_LIB_HH
20 #define OST_CONOP_COMPOUND_LIB_HH
23 #include <boost/shared_ptr.hpp>
30 namespace ost {
namespace conop {
57 void LoadAtomsFromDB(
CompoundPtr comp,
int pk)
const;
58 void LoadBondsFromDB(
CompoundPtr comp,
int pk)
const;
62 CompoundPtr LoadCompoundFromDB(sqlite3_stmt* stmt)
const;
67 bool smiles_available_;
68 bool obsolete_available_;
69 bool charges_available_;
virtual CompoundPtr FindCompound(const String &id, Compound::Dialect dialect) const
Date GetCreationDate(void)
String GetOSTVersionUsed(void)
static CompoundLibPtr Load(const String &database, bool readonly=true)
void SetChemLibInfo(void)
static CompoundLibPtr Create(const String &database)
virtual CompoundPtrList FindCompounds(const String &query, const String &by, Compound::Dialect dialect) const
void AddCompound(const CompoundPtr &compound)
CompoundLibPtr Copy(const String &filename) const
#define DLLEXPORT_OST_CONOP
boost::shared_ptr< Compound > CompoundPtr
boost::shared_ptr< CompoundLib > CompoundLibPtr
std::vector< CompoundPtr > CompoundPtrList
std::map< String, CompoundPtr > CompoundMap