![]() |
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 | |
| 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 | |
| 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, unsigned int propertyFlags) |
| constructs a molecule from a pickle stored in a string | |
| static void | molFromPickle (const std::string &pickle, ROMol &mol, unsigned int propertyFlags) |
| static void | molFromPickle (const std::string &pickle, ROMol *mol) |
| static void | molFromPickle (const std::string &pickle, ROMol &mol) |
| static void | molFromPickle (std::istream &ss, ROMol *mol, unsigned int propertyFlags) |
| constructs a molecule from a pickle stored in a stream | |
| static void | molFromPickle (std::istream &ss, ROMol &mol, unsigned int propertyFlags) |
| static void | molFromPickle (std::istream &ss, ROMol *mol) |
| static void | molFromPickle (std::istream &ss, ROMol &mol) |
Static Public Attributes | |
| static const std::int32_t | versionMajor |
| mark the pickle major version | |
| static const std::int32_t | versionMinor |
| mark the pickle minor version | |
| static const std::int32_t | versionPatch |
| mark the pickle patch version | |
| static const std::int32_t | endianId |
| mark the endian-ness of the pickle | |
handles pickling (serializing) molecules
Definition at line 67 of file MolPickler.h.
the pickle format is tagged using these tags: NOTE: if you add to this list, be sure to put new entries AT THE BOTTOM, otherwise you will break old pickles.
Definition at line 78 of file MolPickler.h.
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 193 of file MolPickler.h.
References molFromPickle().
|
inlinestatic |
Definition at line 185 of file MolPickler.h.
References molFromPickle().
|
inlinestatic |
Definition at line 189 of file MolPickler.h.
References molFromPickle().
|
static |
constructs a molecule from a pickle stored in a string
Referenced by RDKit::CachedMolHolder::getMol(), molFromPickle(), molFromPickle(), molFromPickle(), molFromPickle(), molFromPickle(), and molFromPickle().
|
inlinestatic |
Definition at line 209 of file MolPickler.h.
References molFromPickle().
|
inlinestatic |
Definition at line 201 of file MolPickler.h.
References molFromPickle().
|
inlinestatic |
Definition at line 205 of file MolPickler.h.
References molFromPickle().
|
static |
constructs a molecule from a pickle stored in a stream
|
static |
|
inlinestatic |
Definition at line 167 of file MolPickler.h.
References pickleMol().
|
static |
|
inlinestatic |
Definition at line 177 of file MolPickler.h.
References pickleMol().
|
static |
pickles a molecule and sends the results to stream ss
Referenced by RDKit::CachedMolHolder::addMol(), RDKit::EnumerateLibrary::initFromStream(), pickleMol(), pickleMol(), and RDKit::TautomerQuery::TautomerQueryMatcher.
|
static |
|
static |
pickles a molecule and adds the results to string res
|
static |
|
static |
|
static |
mark the endian-ness of the pickle
Definition at line 72 of file MolPickler.h.
|
static |
mark the pickle major version
Definition at line 69 of file MolPickler.h.
|
static |
mark the pickle minor version
Definition at line 70 of file MolPickler.h.
|
static |
mark the pickle patch version
Definition at line 71 of file MolPickler.h.