Struct UIString

Container for UI string - either raw value or string resource ID

Set resource id (string) or plain unicode text (dstring) to it, and get dstring.


Name Description
this create string with i18n resource id
this create string with raw value
this create string with resource id and raw value as fallback for missing translations


Name Type Description
id [get] string Returns string resource id
id [set] string Sets string resource id
value [get] dstring Get value (either raw or translated by id)
value [set] dstring Set raw value using property


Name Description
empty returns true if string is empty: neither resource nor string is assigned
opAssign Assign raw value
opAssign Assign string resource id


Vadim Lopatin,


Vadim Lopatin, 2014


Boost License 1.0