ne_sr_getRoleAsString
-
const std::string sbne::ne_sr_getRoleAsString(NSpeciesReference *sR)
Returns the value of the “role” attribute of this NSpeciesReference object as a string, if it has one.
- Parameters:
sR – a pointer to the NSpeciesReference object.
- Returns:
the “role” attribute of this NSpeciesReference object as a string, or an empty string if either the “role” attribute is not set or the object is
NULL.