![]() |
RDKit
Open-source cheminformatics and machine learning.
|
handles pickling (serializing) molecules More...
#include <MolPickler.h>
Static Public Member Functions | |
static unsigned int | getDefaultPickleProperties () |
static void | setDefaultPickleProperties (unsigned int) |
static const CustomPropHandlerVec & | getCustomPropHandlers () |
static void | addCustomPropHandler (const CustomPropHandler &handler) |
static void | pickleMol (const ROMol *mol, std::ostream &ss) |
pickles a molecule and sends the results to stream ss More... | |
static void | pickleMol (const ROMol *mol, std::ostream &ss, unsigned int propertyFlags) |
static void | pickleMol (const ROMol &mol, std::ostream &ss) |
static void | pickleMol (const ROMol &mol, std::ostream &ss, unsigned int propertyFlags) |
static void | pickleMol (const ROMol *mol, std::string &res) |
pickles a molecule and adds the results to string res More... | |
static void | pickleMol (const ROMol *mol, std::string &res, unsigned int propertyFlags) |
static void | pickleMol (const ROMol &mol, std::string &res) |
static void | pickleMol (const ROMol &mol, std::string &res, unsigned int propertyFlags) |
static void | molFromPickle (const std::string &pickle, ROMol *mol) |
constructs a molecule from a pickle stored in a string More... | |
static void | molFromPickle (const std::string &pickle, ROMol &mol) |
static void | molFromPickle (std::istream &ss, ROMol *mol) |
constructs a molecule from a pickle stored in a stream More... | |
static void | molFromPickle (std::istream &ss, ROMol &mol) |
Static Public Attributes | |
static const std::int32_t | versionMajor |
mark the pickle major version More... | |
static const std::int32_t | versionMinor |
mark the pickle minor version More... | |
static const std::int32_t | versionPatch |
mark the pickle patch version More... | |
static const std::int32_t | endianId |
handles pickling (serializing) molecules
Definition at line 63 of file MolPickler.h.
mark the endian-ness of the pickle
the pickle format is tagged using these tags: NOTE: if you add to this list, be sure to put new entries AT THE BOTTOM, you will break old pickles.
Definition at line 74 of file MolPickler.h.
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 171 of file MolPickler.h.
References molFromPickle(), and RDKit::EnumerationStrategyPickler::pickle().
|
static |
constructs a molecule from a pickle stored in a string
Referenced by RDKit::CachedMolHolder::getMol(), and molFromPickle().
|
inlinestatic |
Definition at line 177 of file MolPickler.h.
References molFromPickle().
|
static |
constructs a molecule from a pickle stored in a stream
|
static |
|
inlinestatic |
Definition at line 154 of file MolPickler.h.
References pickleMol().
|
static |
|
inlinestatic |
Definition at line 164 of file MolPickler.h.
References pickleMol().
|
static |
pickles a molecule and sends the results to stream ss
Referenced by RDKit::CachedMolHolder::addMol(), and pickleMol().
|
static |
|
static |
pickles a molecule and adds the results to string res
|
static |
|
static |
|
static |
Definition at line 68 of file MolPickler.h.
|
static |
mark the pickle major version
Definition at line 65 of file MolPickler.h.
|
static |
mark the pickle minor version
Definition at line 66 of file MolPickler.h.
|
static |
mark the pickle patch version
Definition at line 67 of file MolPickler.h.