RDKit
Open-source cheminformatics and machine learning.
|
#include <FragCatalogEntry.h>
Public Member Functions | |
FragCatalogEntry () | |
FragCatalogEntry (const ROMol *omol, const PATH_TYPE &path, const MatchVectType &aidToFid) | |
FragCatalogEntry (const std::string &pickle) | |
~FragCatalogEntry () override | |
std::string | getDescription () const override |
returns a text description of this entry | |
void | setDescription (const std::string &val) |
void | setDescription (const FragCatParams *params) |
bool | match (const FragCatalogEntry *other, double tol) const |
Subgraphs::DiscrimTuple | getDiscrims () const |
unsigned int | getOrder () const |
const INT_INT_VECT_MAP & | getFuncGroupMap () const |
std::string | getSmarts () |
template<typename T > | |
void | setProp (const char *key, T &val) const |
template<typename T > | |
void | setProp (const std::string &key, T &val) const |
void | setProp (const char *key, int val) const |
void | setProp (const std::string &key, int val) const |
void | setProp (const char *key, float val) const |
void | setProp (const std::string &key, float val) const |
void | setProp (const std::string &key, std::string &val) const |
template<typename T > | |
void | getProp (const char *key, T &res) const |
template<typename T > | |
void | getProp (const std::string &key, T &res) const |
bool | hasProp (const char *key) const |
bool | hasProp (const std::string &key) const |
void | clearProp (const char *key) const |
void | clearProp (const std::string &key) const |
void | toStream (std::ostream &ss) const override |
serializes (pickles) to a stream | |
std::string | Serialize () const override |
returns a string with a serialized (pickled) representation | |
void | initFromStream (std::istream &ss) override |
initializes from a stream pickle | |
void | initFromString (const std::string &text) override |
initializes from a string pickle | |
Public Member Functions inherited from RDCatalog::CatalogEntry | |
virtual | ~CatalogEntry ()=0 |
void | setBitId (int bid) |
sets our bit Id | |
int | getBitId () const |
returns our bit Id | |
Definition at line 27 of file FragCatalogEntry.h.
|
inline |
Definition at line 30 of file FragCatalogEntry.h.
RDKit::FragCatalogEntry::FragCatalogEntry | ( | const ROMol * | omol, |
const PATH_TYPE & | path, | ||
const MatchVectType & | aidToFid | ||
) |
RDKit::FragCatalogEntry::FragCatalogEntry | ( | const std::string & | pickle | ) |
|
inlineoverride |
Definition at line 39 of file FragCatalogEntry.h.
Definition at line 112 of file FragCatalogEntry.h.
Definition at line 114 of file FragCatalogEntry.h.
References clearProp().
Referenced by clearProp().
|
inlineoverridevirtual |
returns a text description of this entry
Implements RDCatalog::CatalogEntry.
Definition at line 48 of file FragCatalogEntry.h.
Subgraphs::DiscrimTuple RDKit::FragCatalogEntry::getDiscrims | ( | ) | const |
|
inline |
Definition at line 63 of file FragCatalogEntry.h.
Definition at line 61 of file FragCatalogEntry.h.
|
inline |
Definition at line 96 of file FragCatalogEntry.h.
|
inline |
Definition at line 100 of file FragCatalogEntry.h.
|
inline |
Definition at line 66 of file FragCatalogEntry.h.
Definition at line 104 of file FragCatalogEntry.h.
|
overridevirtual |
initializes from a stream pickle
Implements RDCatalog::CatalogEntry.
initializes from a string pickle
Implements RDCatalog::CatalogEntry.
bool RDKit::FragCatalogEntry::match | ( | const FragCatalogEntry * | other, |
double | tol | ||
) | const |
|
overridevirtual |
returns a string with a serialized (pickled) representation
Implements RDCatalog::CatalogEntry.
void RDKit::FragCatalogEntry::setDescription | ( | const FragCatParams * | params | ) |
Definition at line 50 of file FragCatalogEntry.h.
Definition at line 85 of file FragCatalogEntry.h.
Definition at line 79 of file FragCatalogEntry.h.
|
inline |
Definition at line 70 of file FragCatalogEntry.h.
Definition at line 87 of file FragCatalogEntry.h.
Definition at line 81 of file FragCatalogEntry.h.
Definition at line 91 of file FragCatalogEntry.h.
|
inline |
Definition at line 75 of file FragCatalogEntry.h.
|
overridevirtual |
serializes (pickles) to a stream
Implements RDCatalog::CatalogEntry.