11#ifndef _RD_FRAG_CAT_PARAMS_H_
12#define _RD_FRAG_CAT_PARAMS_H_
17#include <boost/shared_ptr.hpp>
29 d_typeStr =
"Fragment Catalog Parameters";
44 const std::string &fgroupFile,
double tol = 1e-08);
69 return static_cast<unsigned int>(d_funcGroups.size());
84 unsigned int d_lowerFragLen;
85 unsigned int d_upperFragLen;
abstract base class for the container used to create a catalog
container for user parameters used to create a fragment catalog
FragCatParams(const FragCatParams &other)
copy constructor
void setLowerFragLength(unsigned int lFrLen)
sets our lower fragment length
void initFromStream(std::istream &ss) override
initializes from a stream pickle
unsigned int getUpperFragLength() const
returns our upper fragment length
void initFromString(const std::string &text) override
initializes from a string pickle
const ROMol * getFuncGroup(unsigned int fid) const
returns a pointer to a specific functional group
void setUpperFragLength(unsigned int uFrLen)
sets our upper fragment length
double getTolerance() const
returns our fragment-comparison tolerance
void toStream(std::ostream &) const override
serializes (pickles) to a stream
FragCatParams(unsigned int lLen, unsigned int uLen, const std::string &fgroupFile, double tol=1e-08)
construct from a function-group file
unsigned int getNumFuncGroups() const
returns our number of functional groups
FragCatParams(const std::string &pickle)
construct from a pickle string (serialized representation)
const MOL_SPTR_VECT & getFuncGroups() const
returns our std::vector of functional groups
std::string Serialize() const override
returns a string with a serialized (pickled) representation
unsigned int getLowerFragLength() const
returns our lower fragment length
void setTolerance(double val)
sets our fragment-comparison tolerance
~FragCatParams() override
#define RDKIT_FRAGCATALOG_EXPORT
std::vector< boost::shared_ptr< ROMol > > MOL_SPTR_VECT