Urho3D::PListValue Class Reference
Urho3D::PListValue Class Reference
PList value. More...
#include <Urho3D/Resource/PListFile.h>
Collaboration diagram for Urho3D::PListValue:
Public Member Functions | |
| PListValue () | |
| Construct. | |
| PListValue (int value) | |
| Construct from int. | |
| PListValue (bool value) | |
| Construct from boolean. | |
| PListValue (float value) | |
| Construct from float. | |
| PListValue (const String &value) | |
| Construct from string. | |
| PListValue (PListValueMap &valueMap) | |
| Construct from value map. | |
| PListValue (PListValueVector &valueVector) | |
| Construct from value vector. | |
| PListValue (const PListValue &value) | |
| Construct from another value. | |
| ~PListValue () | |
| Destruct. | |
| PListValue & | operator= (const PListValue &rhs) |
| Assign operator. | |
| operator bool () const | |
| Return true if is valid. | |
| void | SetInt (int value) |
| Set int. | |
| void | SetBool (bool value) |
| Set boolean. | |
| void | SetFloat (float value) |
| Set float. | |
| void | SetString (const String &value) |
| Set string. | |
| void | SetValueMap (const PListValueMap &valueMap) |
| Set value map. | |
| void | SetValueVector (const PListValueVector &valueVector) |
| Set value vector. | |
| PListValueType | GetType () const |
| Return type. | |
| int | GetInt () const |
| Return int. | |
| bool | GetBool () const |
| Return boolean. | |
| float | GetFloat () const |
| Return float. | |
| const String & | GetString () const |
| Return string. | |
| IntRect | GetIntRect () const |
| Return IntRect, for string type. | |
| IntVector2 | GetIntVector2 () const |
| Return IntVector2, for string type. | |
| const PListValueMap & | GetValueMap () const |
| Return value map. | |
| const PListValueVector & | GetValueVector () const |
| Return value vector. | |
| PListValueMap & | ConvertToValueMap () |
| Convert to value map (internal use only). | |
| PListValueVector & | ConvertToValueVector () |
| Convert to value vector (internal use only). | |
Private Member Functions | |
| void | Reset () |
| Reset. | |
Private Attributes | |
| PListValueType | type_ |
| Type. | |
| union { | |
| int int_ | |
| bool bool_ | |
| float float_ | |
| String * string_ | |
| PListValueMap * valueMap_ | |
| PListValueVector * valueVector_ | |
| }; | |
Detailed Description
PList value.
The documentation for this class was generated from the following files:
- Source/Urho3D/Resource/PListFile.h
- Source/Urho3D/Resource/PListFile.cpp
