ne_gtxt_getPlainText

const std::string sbne::ne_gtxt_getPlainText(NText *t)

Returns the value of the “text” attribute of this NText object as a string, if it has one.

Parameters:

t – a pointer to the NText object.

Returns:

the “text” attribute of this NText object, or an empty string if either the “text” attribute is not set or the object is NULL .