![]() |
RDKit
Open-source cheminformatics and machine learning.
|
Abstract base class to be used to represent an entry in a Catalog. More...
#include <CatalogEntry.h>
Public Member Functions | |
virtual | ~CatalogEntry ()=0 |
void | setBitId (int bid) |
sets our bit Id More... | |
int | getBitId () const |
returns our bit Id More... | |
virtual std::string | getDescription () const =0 |
returns a text description of this entry More... | |
virtual void | toStream (std::ostream &ss) const =0 |
serializes (pickles) to a stream More... | |
virtual std::string | Serialize () const =0 |
returns a string with a serialized (pickled) representation More... | |
virtual void | initFromStream (std::istream &ss)=0 |
initializes from a stream pickle More... | |
virtual void | initFromString (const std::string &text)=0 |
initializes from a string pickle More... | |
Abstract base class to be used to represent an entry in a Catalog.
Definition at line 19 of file CatalogEntry.h.
|
pure virtual |
|
inline |
returns our bit Id
Definition at line 27 of file CatalogEntry.h.
References getDescription(), initFromStream(), initFromString(), Serialize(), and toStream().
|
pure virtual |
returns a text description of this entry
Implemented in RDKit::FragCatalogEntry, and RDKit::MolCatalogEntry.
Referenced by getBitId().
|
pure virtual |
initializes from a stream pickle
Implemented in RDKit::FragCatalogEntry, and RDKit::MolCatalogEntry.
Referenced by getBitId().
|
pure virtual |
initializes from a string pickle
Implemented in RDKit::FragCatalogEntry, and RDKit::MolCatalogEntry.
Referenced by getBitId().
|
pure virtual |
returns a string with a serialized (pickled) representation
Implemented in RDKit::FragCatalogEntry, and RDKit::MolCatalogEntry.
Referenced by getBitId().
|
inline |
sets our bit Id
Definition at line 24 of file CatalogEntry.h.
Referenced by RDKit::FragCatalogEntry::FragCatalogEntry(), and RDKit::MolCatalogEntry::MolCatalogEntry().
|
pure virtual |
serializes (pickles) to a stream
Implemented in RDKit::FragCatalogEntry, and RDKit::MolCatalogEntry.
Referenced by getBitId().