handles pickling (serializing) reactions
More...
#include <ReactionPickler.h>
|
enum | Tags {
VERSION = 10000
, BEGINREACTANTS
, ENDREACTANTS
, BEGINPRODUCTS
,
ENDPRODUCTS
, BEGINAGENTS
, ENDAGENTS
, ENDREACTION
,
BEGINPROPS
, ENDPROPS
, BEGINSSSPARAMS
, ENDSSSPARAMS
} |
|
|
static void | pickleReaction (const ChemicalReaction *rxn, std::ostream &ss, unsigned int propertyFlags) |
| pickles a reaction and sends the results to stream ss
|
|
static void | pickleReaction (const ChemicalReaction *rxn, std::ostream &ss) |
|
static void | pickleReaction (const ChemicalReaction &rxn, std::ostream &ss) |
|
static void | pickleReaction (const ChemicalReaction &rxn, std::ostream &ss, unsigned int propertyFlags) |
|
static void | pickleReaction (const ChemicalReaction *rxn, std::string &res, unsigned int propertyFlags) |
| pickles a reaction and adds the results to string res
|
|
static void | pickleReaction (const ChemicalReaction *rxn, std::string &res) |
|
static void | pickleReaction (const ChemicalReaction &rxn, std::string &res) |
|
static void | pickleReaction (const ChemicalReaction &rxn, std::string &res, unsigned int propertyFlags) |
|
static void | reactionFromPickle (const std::string &pickle, ChemicalReaction *rxn) |
|
static void | reactionFromPickle (const std::string &pickle, ChemicalReaction &rxn) |
|
static void | reactionFromPickle (std::istream &ss, ChemicalReaction *rxn) |
|
static void | reactionFromPickle (std::istream &ss, ChemicalReaction &rxn) |
|
|
static const std::int32_t | versionMajor |
| mark the pickle version
|
|
static const std::int32_t | versionMinor |
| mark the pickle version
|
|
static const std::int32_t | versionPatch |
| mark the pickle version
|
|
static const std::int32_t | endianId |
| mark the endian-ness of the pickle
|
|
handles pickling (serializing) reactions
Definition at line 41 of file ReactionPickler.h.
◆ Tags
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.
Enumerator |
---|
VERSION | |
BEGINREACTANTS | |
ENDREACTANTS | |
BEGINPRODUCTS | |
ENDPRODUCTS | |
BEGINAGENTS | |
ENDAGENTS | |
ENDREACTION | |
BEGINPROPS | |
ENDPROPS | |
BEGINSSSPARAMS | |
ENDSSSPARAMS | |
Definition at line 51 of file ReactionPickler.h.
◆ pickleReaction() [1/8]
static void RDKit::ReactionPickler::pickleReaction |
( |
const ChemicalReaction & | rxn, |
|
|
std::ostream & | ss ) |
|
inlinestatic |
◆ pickleReaction() [2/8]
static void RDKit::ReactionPickler::pickleReaction |
( |
const ChemicalReaction & | rxn, |
|
|
std::ostream & | ss, |
|
|
unsigned int | propertyFlags ) |
|
inlinestatic |
◆ pickleReaction() [3/8]
static void RDKit::ReactionPickler::pickleReaction |
( |
const ChemicalReaction & | rxn, |
|
|
std::string & | res ) |
|
inlinestatic |
◆ pickleReaction() [4/8]
static void RDKit::ReactionPickler::pickleReaction |
( |
const ChemicalReaction & | rxn, |
|
|
std::string & | res, |
|
|
unsigned int | propertyFlags ) |
|
inlinestatic |
◆ pickleReaction() [5/8]
static void RDKit::ReactionPickler::pickleReaction |
( |
const ChemicalReaction * | rxn, |
|
|
std::ostream & | ss ) |
|
static |
◆ pickleReaction() [6/8]
static void RDKit::ReactionPickler::pickleReaction |
( |
const ChemicalReaction * | rxn, |
|
|
std::ostream & | ss, |
|
|
unsigned int | propertyFlags ) |
|
static |
pickles a reaction and sends the results to stream ss
◆ pickleReaction() [7/8]
static void RDKit::ReactionPickler::pickleReaction |
( |
const ChemicalReaction * | rxn, |
|
|
std::string & | res ) |
|
static |
◆ pickleReaction() [8/8]
static void RDKit::ReactionPickler::pickleReaction |
( |
const ChemicalReaction * | rxn, |
|
|
std::string & | res, |
|
|
unsigned int | propertyFlags ) |
|
static |
pickles a reaction and adds the results to string res
◆ reactionFromPickle() [1/4]
static void RDKit::ReactionPickler::reactionFromPickle |
( |
const std::string & | pickle, |
|
|
ChemicalReaction & | rxn ) |
|
inlinestatic |
◆ reactionFromPickle() [2/4]
static void RDKit::ReactionPickler::reactionFromPickle |
( |
const std::string & | pickle, |
|
|
ChemicalReaction * | rxn ) |
|
static |
constructs a reaction from a pickle stored in a string
◆ reactionFromPickle() [3/4]
static void RDKit::ReactionPickler::reactionFromPickle |
( |
std::istream & | ss, |
|
|
ChemicalReaction & | rxn ) |
|
inlinestatic |
◆ reactionFromPickle() [4/4]
static void RDKit::ReactionPickler::reactionFromPickle |
( |
std::istream & | ss, |
|
|
ChemicalReaction * | rxn ) |
|
static |
constructs a reaction from a pickle stored in a stream
◆ endianId
const std::int32_t RDKit::ReactionPickler::endianId |
|
static |
◆ versionMajor
const std::int32_t RDKit::ReactionPickler::versionMajor |
|
static |
◆ versionMinor
const std::int32_t RDKit::ReactionPickler::versionMinor |
|
static |
◆ versionPatch
const std::int32_t RDKit::ReactionPickler::versionPatch |
|
static |
The documentation for this class was generated from the following file: