ne_go_get
-
const std::string sbne::ne_go_get(NGraphicalObject *gO, std::unordered_map<std::string, std::string> infoList)
Gets the NText object assigned to this NGraphicalObject object, if its NText ojbect is
NULL, first creates an NText object and assign it to this NGraphicalObject object.- Parameters:
net – a pointer to the Network object.
gO – a pointer to the NGraphicalObject object.
gO – a pointer to the NGraphicalObject object.
infoList – a list containg the info about the desired feature.
- Returns:
a pointer to the NText object of this NGraphicalObject object. Get the value of a desired feature of a NGraphicalObject object.
- Returns:
a string containing the value of the desired feature of the NGraphicalObject object, or an empty string if either the value of the desired feature is not set or the desired feature does not exist.