CPP API class rl3::SharedText

From RL3 Wiki
Jump to: navigation, search

rl3::SharedText overview

rl3::SharedText class enables to work with SharedText objects (that should be created in case multiple facts could be found in different parts of one text instance).

constructor

rl3::SharedText object can be created with rl3::BaseEngine factory only (refer to create_sharedtext functions in rl3::RL3Engine or rl3::KMLEngine derived from the rl3::BaseEngine class)

destructor

~SharedText();

Destroy a SharedText object.

get_value

UnicodeString get_value();

Get the unicode string value of a SharedText object.

Returns: UnicodeString object

get_value_str

string get_value_str();

Get the UTF-8 string value of a SharedText object.

Returns: std::string object