ne_ne_getId

const std::string sbne::ne_ne_getId(NetworkElement *nE)

Returns the value of the “id” attribute of this NetworkElement object, if it has one.

Parameters:

nE – a pointer to the NetworkElement object.

Returns:

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