Utility class to parse a string description of a size. More...
#include <SAnimation.h>
Public Member Functions | |
| SValueDescription (AniValueType _type=ABSOLUTE_VALUE, float _value=0.0f) | |
| Constructor for SValueDescription. | |
Static Public Member Functions | |
| static SValueDescription | parseValue (const SStringW &value) |
| Parses a string description of a size. Size descriptions can appear in three forms: | |
Public Attributes | |
| AniValueType | type |
| One of Animation.ABSOLUTE_VALUE, Animation.RELATIVE_TO_SELF, or Animation.RELATIVE_TO_PARENT. | |
| SLayoutSize | value |
| The absolute or relative dimension for this Description. | |
Utility class to parse a string description of a size.
Definition at line 24 of file SAnimation.h.
|
inline |
Constructor for SValueDescription.
| _type | Type of the value (ABSOLUTE_VALUE, RELATIVE_TO_SELF, RELATIVE_TO_PARENT) |
| _value | The value to be described |
Definition at line 31 of file SAnimation.h.
|
static |
Parses a string description of a size. Size descriptions can appear in three forms:
| value | The typed value to parse |
Definition at line 8 of file SAnimation.cpp.
| AniValueType SValueDescription::type |
One of Animation.ABSOLUTE_VALUE, Animation.RELATIVE_TO_SELF, or Animation.RELATIVE_TO_PARENT.
Definition at line 40 of file SAnimation.h.
| SLayoutSize SValueDescription::value |
The absolute or relative dimension for this Description.
Definition at line 45 of file SAnimation.h.