|
MyGUI 3.4.2
|
#include <MyGUI_WidgetUserData.h>

Public Member Functions | |
| virtual | ~UserData ()=default |
| void | setUserString (const std::string &_key, const std::string &_value) |
| const std::string & | getUserString (const std::string &_key) const |
| const MapString & | getUserStrings () const |
| bool | clearUserString (const std::string &_key) |
| bool | isUserString (const std::string &_key) const |
| void | clearUserStrings () |
| void | setUserData (Any _data) |
| template<typename ValueType > | |
| ValueType * | getUserData (bool _throw=true) const |
| void | _setInternalData (Any _data) |
| template<typename ValueType > | |
| ValueType * | _getInternalData (bool _throw=true) const |
UserData is parent of Widget class. Used to store any user data and strings inside widget
Definition at line 17 of file MyGUI_WidgetUserData.h.
|
virtualdefault |
Definition at line 54 of file MyGUI_WidgetUserData.h.
Definition at line 59 of file MyGUI_WidgetUserData.cpp.
Delete user string
Definition at line 33 of file MyGUI_WidgetUserData.cpp.
| void MyGUI::UserData::clearUserStrings | ( | ) |
Delete all user strings
Definition at line 49 of file MyGUI_WidgetUserData.cpp.
Get user data and cast it to ValueType
Definition at line 45 of file MyGUI_WidgetUserData.h.
Get user string or "" if not found
Definition at line 20 of file MyGUI_WidgetUserData.cpp.
Get map of all user strings
Definition at line 28 of file MyGUI_WidgetUserData.cpp.
Return true if user string with such key exist
Definition at line 44 of file MyGUI_WidgetUserData.cpp.
Set any user data to store inside widget
Definition at line 54 of file MyGUI_WidgetUserData.cpp.
Set user string
Definition at line 14 of file MyGUI_WidgetUserData.cpp.