The element type corresponding to a string value such as a JSON string. More...
#include <osvr/Common/PathElementTypes.h>
Public Member Functions | |
StringElement () | |
Default constructor. | |
StringElement (std::string const &s) | |
Constructor with value. | |
std::string & | getString () |
Get/set (if non const) the stored string. | |
std::string const & | getString () const |
bool | operator== (StringElement const &other) const |
Equality comparison operator. | |
![]() | |
const char * | getTypeName () const |
Additional Inherited Members | |
![]() | |
typedef StringElement | type |
typedef ElementBase < StringElement > | base_type |
![]() | |
ElementBase () | |
Protected constructor to force subclassing. More... | |
The element type corresponding to a string value such as a JSON string.
Definition at line 217 of file PathElementTypes.h.
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.
Definition at line 85 of file PathElementTypes.cpp.