ne_spc_getCompartment

const std::string sbne::ne_spc_getCompartment(NSpecies *s)

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

Parameters:

s – a pointer to the NSpecies object.

Returns:

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