 |
RDKit
Open-source cheminformatics and machine learning.
|
Go to the documentation of this file.
31 #ifndef RDKIT_DATASTRUCTS_STREAMOPS
32 #define RDKIT_DATASTRUCTS_STREAMOPS
36 #include <boost/any.hpp>
43 return rdvalue_is<ExplicitBitVect>(value);
58 rdvalue_cast<const ExplicitBitVect &>(value).toString();
61 }
catch (boost::bad_any_cast &) {
CustomPropHandler * clone() const
void streamRead(std::istream &ss, T &loc)
does a binary read of an object from a stream
void streamWrite(std::ostream &ss, const T &val)
does a binary write of an object to a stream
bool read(std::istream &ss, RDValue &value) const
bool write(std::ostream &ss, const RDValue &value) const
bool canSerialize(const RDValue &value) const
const char * getPropName() const
a class for bit vectors that are densely occupied