ne_rxn_findCompartment

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

Returns the value of the “compartment” containg this NReaction object, if it all the participants of this reaction belong to one single compartment.

Parameters:

r – a pointer to the NReaction object.

Returns:

the “compartment” containg this NReaction object, or an empty string if the participants of this reaction belong to more than one compartment, or the object is NULL .