11#ifndef RD_FRAGMENT_CATALOG_PARAMS_H
12#define RD_FRAGMENT_CATALOG_PARAMS_H
24namespace MolStandardize {
29 d_typeStr =
"Fragment Catalog Parameters";
36 const std::vector<std::pair<std::string, std::string>> &data);
43 return static_cast<unsigned int>(d_funcGroups.size());
56 std::vector<std::shared_ptr<ROMol>> d_funcGroups;
pulls in the core RDKit functionality
abstract base class for the container used to create a catalog
std::string Serialize() const override
returns a string with a serialized (pickled) representation
FragmentCatalogParams(const std::vector< std::pair< std::string, std::string > > &data)
void initFromString(const std::string &text) override
initializes from a string pickle
FragmentCatalogParams(const std::string &fgroupFile)
const ROMol * getFuncGroup(unsigned int fid) const
void toStream(std::ostream &) const override
serializes (pickles) to a stream
const std::vector< std::shared_ptr< ROMol > > & getFuncGroups() const
unsigned int getNumFuncGroups() const
FragmentCatalogParams(std::istream &fgroupStream)
~FragmentCatalogParams() override
void initFromStream(std::istream &ss) override
initializes from a stream pickle
FragmentCatalogParams(const FragmentCatalogParams &other)
#define RDKIT_MOLSTANDARDIZE_EXPORT