OESetSDData

bool OESetSDData(OEMolBase &mol, const OESDDataPair &dp)
bool OESetSDData(OEMolBase &mol, const std::string &tag,
                 const std::string &value)

Sets an SD tag and value data pair to a molecule. Both the tag and the value must be a string. If an item with the same tag already exists, it is replaced with the new value.

See also

Code Example

Note

Unicode characters are not supported neither in the data tag nor in the data value.