4.3.2 Retrieving SD Data from a Molecule

bool OEHasSDData(const OEMolBase &mol, const std::string tag)
Returns true if molecule has an item with the given tag, false otherwise.

std::string OEGetSDData(const OEMolBase &mol, const std::string tag)
Returns the value for the given tag. If the molecule does not have that tag, an empty string is returned.

OESystem::OEIterBase<OESDDataPair> *OEGetSDDataPairs(OEMolBase &mol)
Returns an OEIter to OESDDataPairs that can be used to just loop over all pairs like iterators over atoms and bonds