swift
|
Class providing access to a single X-Plane string dataref. More...
Public Member Functions | |
StringDataRef () | |
Constructor. | |
bool | isValid () const |
True if the dataref exists. | |
void | set (std::string const &s) |
Set the value of the whole string (if it is writable) | |
std::string | get () const |
Get the value of the whole string. | |
void | setSubstr (size_t offset, std::string const &s) |
Set the value of part of the string (if it is writable) | |
std::string | getSubstr (size_t offset, size_t size) const |
Get the value of part of the string. | |
Class providing access to a single X-Plane string dataref.
DataRefTraits | The trait class representing the dataref. See the xplane::data namespace and http://www.xsquawkbox.net/xpsdk/docs/DataRefs.html |
Definition at line 179 of file datarefs.h.