![]() |
RDKit
Open-source cheminformatics and machine learning.
|
abstract base class for the container used to create a catalog More...
#include <CatalogParams.h>
Public Member Functions | |
virtual | ~CatalogParams ()=0 |
std::string | getTypeStr () const |
returns our type string More... | |
void | setTypeStr (const std::string &typeStr) |
sets our type string More... | |
virtual void | toStream (std::ostream &) 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... | |
Protected Attributes | |
std::string | d_typeStr |
our type string More... | |
abstract base class for the container used to create a catalog
Definition at line 17 of file CatalogParams.h.
|
pure virtual |
|
inline |
|
pure virtual |
initializes from a stream pickle
Implemented in RDKit::FragCatParams, and RDKit::MolCatalogParams.
Referenced by setTypeStr().
|
pure virtual |
initializes from a string pickle
Implemented in RDKit::FragCatParams, and RDKit::MolCatalogParams.
Referenced by setTypeStr().
|
pure virtual |
returns a string with a serialized (pickled) representation
Implemented in RDKit::FragCatParams, and RDKit::MolCatalogParams.
Referenced by setTypeStr().
|
inline |
sets our type string
Definition at line 25 of file CatalogParams.h.
References d_typeStr, initFromStream(), initFromString(), Serialize(), and toStream().
|
pure virtual |
serializes (pickles) to a stream
Implemented in RDKit::FragCatParams, and RDKit::MolCatalogParams.
Referenced by setTypeStr().
|
protected |
our type string
Definition at line 37 of file CatalogParams.h.
Referenced by RDKit::FragCatParams::FragCatParams(), getTypeStr(), RDKit::MolCatalogParams::MolCatalogParams(), and setTypeStr().