|
OSVR-Core
|
The element type corresponding to a string value such as a JSON string. More...
#include <PathElementTypes.h>
Public Member Functions | |
| OSVR_COMMON_EXPORT | StringElement () |
| Default constructor. | |
| OSVR_COMMON_EXPORT | StringElement (std::string const &s) |
| Constructor with value. | |
| OSVR_COMMON_EXPORT std::string & | getString () |
| Get/set (if non const) the stored string. | |
| OSVR_COMMON_EXPORT std::string const & | getString () const |
| bool | operator== (StringElement const &other) const |
| Equality comparison operator. | |
Public Member Functions inherited from osvr::common::elements::ElementBase< StringElement > | |
| const char * | getTypeName () const |
Additional Inherited Members | |
Public Types inherited from osvr::common::elements::ElementBase< StringElement > | |
| typedef StringElement | type |
| typedef ElementBase< StringElement > | base_type |
Protected Member Functions inherited from osvr::common::elements::ElementBase< StringElement > | |
| ElementBase () | |
| Protected constructor to force subclassing. More... | |
The element type corresponding to a string value such as a JSON string.
| std::string const & osvr::common::elements::StringElement::getString | ( | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1.8.12