Wrapper for GL NamedStrings. More...
#include </home/chochlik/devel/oglplus/include/oglplus/named_string.hpp>
Public Member Functions | |
void | Set (NamedStringType type, const StrCRef &value) |
Sets the value of the specified type in this NamedString. | |
String | Get (void) const |
Sets the value of this NamedString. | |
NamedString (NamedString &&tmp) | |
Move-construction. | |
NamedString (NamedStringType type, String &&name, const StrCRef &value) | |
Store a string value of the specified type under name . | |
~NamedString (void) | |
Delete this named string. | |
Static Public Member Functions | |
static void | Set (NamedStringType type, const StrCRef &name, const StrCRef &value) |
Store the value , of the specified type under name . | |
static String | Get (const StrCRef &name) |
Gets the value stored under name . | |
static void | Delete (const StrCRef &name) |
Deletes the value stored under name . | |
static NamedStringType | Type (const StrCRef &name) |
Gets the type of the named string stored under name . | |
static bool | IsA (const StrCRef &name) |
Checks if name is a stored string. | |
Wrapper for GL NamedStrings.