![]() |
RDKit
Open-source cheminformatics and machine learning.
|
handles pickling (serializing) molecules More...
#include <MolPickler.h>
Static Public Member Functions | |
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) |
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) |
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 boost::int32_t | versionMajor |
static const boost::int32_t | versionMinor |
static const boost::int32_t | versionPatch |
mark the pickle version More... | |
static const boost::int32_t | endianId |
handles pickling (serializing) molecules
Definition at line 46 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, otherwise you will break old pickles.
Definition at line 54 of file MolPickler.h.
|
static |
constructs a molecule from a pickle stored in a string
Referenced by molFromPickle().
|
inlinestatic |
Definition at line 124 of file MolPickler.h.
References molFromPickle().
|
static |
constructs a molecule from a pickle stored in a stream
|
inlinestatic |
Definition at line 128 of file MolPickler.h.
References molFromPickle().
|
static |
pickles a molecule and sends the results to stream ss
Referenced by pickleMol().
|
inlinestatic |
Definition at line 117 of file MolPickler.h.
References pickleMol().
|
static |
pickles a molecule and adds the results to string res
|
inlinestatic |
Definition at line 120 of file MolPickler.h.
References pickleMol().
|
static |
Definition at line 49 of file MolPickler.h.
|
static |
Definition at line 48 of file MolPickler.h.
|
static |
Definition at line 48 of file MolPickler.h.
|
static |
mark the pickle version
Definition at line 48 of file MolPickler.h.