PList value. More...

#include <PListFile.h>

Collaboration diagram for Urho3D::PListValue:
[legend]

Public Member Functions

 PListValue (int value)
 
 PListValue (bool value)
 
 PListValue (float value)
 
 PListValue (const String &value)
 
 PListValue (PListValueMap &valueMap)
 
 PListValue (PListValueVector &valueVector)
 
 PListValue (const PListValue &value)
 
 ~PListValue ()
 Destruct.
 
PListValueoperator= (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 StringGetString () const
 Return string.
 
IntRect GetIntRect () const
 Return IntRect, for string type.
 
IntVector2 GetIntVector2 () const
 Return IntVector2, for string type.
 
const PListValueMapGetValueMap () const
 Return value map.
 
const PListValueVectorGetValueVector () const
 Return value vector.
 
PListValueMapConvertToValueMap ()
 Convert to value map (internal use only).
 
PListValueVectorConvertToValueVector ()
 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:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Resource/PListFile.h
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Resource/PListFile.cpp