ne_rxn_getCompartment

const std::string sbne::ne_rxn_getCompartment(NReaction *r)

Returns the value of the “compartment” attribute of this NReaction object, if it has one.

Parameters:

r – a pointer to the NReaction object.

Returns:

the “compartment” attribute of this NReaction object, or an empty string if the “compartment” attribute is not set or the object is NULL .