Public Types | |
enum | eValueFlag { DONT_ENUM = 0x01 , DONT_DELETE = 0x02 , READ_ONLY = 0x04 } |
Public Member Functions | |
ActionScriptValue () | |
ActionScriptValue (const ActionScriptValue &rInput) | |
ActionScriptValue (const char *pInput) | |
ActionScriptValue (bool bInput) | |
ActionScriptValue (int iInput) | |
ActionScriptValue (float fInput) | |
ActionScriptValue (double dInput) | |
ActionScriptValue (ActionScriptObject *pObject) | |
ActionScriptValue (Manager *pManager, ActionScriptCFunctionProc pProc) | |
ActionScriptValue (ActionScriptSFunction *pInput) | |
ActionScriptValue (const ActionScriptValue &rGetFunction, const ActionScriptValue &rSetFunction) | |
~ActionScriptValue () | |
void | ReleaseReferences (void) |
const char * | ToDebugString (void) const |
const char * | ToCharPtr (void) const |
const String & | ToString (void) const |
double | ToDouble (void) const |
int | ToInt (void) const |
float | ToFloat (void) const |
uint_t | ToBool (void) const |
ActionScriptFunction * | CastToFunction (void) const |
ActionScriptObject * | CastToObject (void) const |
ActionScriptProperty * | CastToProperty (void) const |
void | SetString (const String &rInput) |
void | SetString (const char *pInput) |
void | SetDouble (double dInput) |
void | SetBool (uint_t bInput) |
void | SetInt (int iInput) |
void | SetNaN (void) |
void | SetAsObject (ActionScriptObject *pObject) |
void | SetAsCFunction (Manager *pManager, ActionScriptCFunctionProc pProc) |
void | SetUndefined (void) |
void | SetNULL (void) |
void | SetProperty (const ActionScriptValue &rInput) |
void | GetProperty (ActionScriptValue *pScript) const |
void | GetProperty (const ActionScriptValue &rInput, ActionScriptValue *pScript) const |
const ActionScriptObject * | GetPropertyTarget (void) const |
void | SetPropertyTarget (ActionScriptObject *pObject) |
void | operator= (const ActionScriptValue &rInput) |
uint_t | operator== (const ActionScriptValue &rInput) const |
uint_t | operator!= (const ActionScriptValue &rInput) const |
uint_t | operator< (double dInput) const |
void | operator+= (double dInput) |
void | operator-= (double dInput) |
void | operator*= (double dInput) |
void | operator/= (double dInput) |
void | operator&= (int iInput) |
void | operator|= (int iInput) |
void | operator^= (int iInput) |
void | shl (int iInput) |
void | asr (int iInput) |
void | lsr (int iInput) |
uint_t | IsFunction (void) const |
uint_t | IsBool (void) const |
uint_t | IsString (void) const |
uint_t | IsNumber (void) const |
uint_t | IsObject (void) const |
uint_t | IsProperty (void) const |
uint_t | IsNULL (void) const |
uint_t | IsUndefined (void) const |
const char * | GetTypeOf (void) const |
uint_t | IsInstanceOf (const ActionScriptFunction *pFunction) const |
uint_t | FindProperty (const String &rInput, ActionScriptValue *pValue) |
uint_t | FindPropertyOwner (const String &rInput, ActionScriptValue *pValue) |
uint_t | IsEnum (void) const |
uint_t | IsReadOnly (void) const |
uint_t | IsProtected (void) const |
uint_t | GetFlags (void) const |
void | SetFlags (uint_t flags) const |
Static Public Member Functions | |
static uint_t | CompareEqual (const ActionScriptValue &rInput1, const ActionScriptValue &rInput2) |
static ActionScriptValue | RelationalCompareEqual (const ActionScriptValue &rInput1, const ActionScriptValue &rInput2) |
Private Types | |
enum | eType { UNDEFINED , BOOLEAN , NUMBER , STRING , OBJECT , PROPERTY } |
Private Attributes | |
SmartPointer< ActionScriptObject > | m_pObject |
Object that this variable belongs to. | |
SmartPointer< ActionScriptObject > | m_pPropertyTarget |
Property target for this variable. | |
SmartPointer< ActionScriptProperty > | m_pProperty |
Property for this variable. | |
String | m_String |
String variable. | |
double | m_dNumber |
Numeric value (As double) | |
uint_t | m_bBool |
Boolean value. | |
eType | m_eType |
Type of data contained. | |
uint_t | m_uFlags |
eValueFlag flags | |
|
private |
Burger::Flash::ActionScriptValue::ActionScriptValue | ( | ) |
Burger::Flash::ActionScriptValue::ActionScriptValue | ( | const ActionScriptValue & | rInput | ) |
Burger::Flash::ActionScriptValue::ActionScriptValue | ( | const char * | pInput | ) |
Burger::Flash::ActionScriptValue::ActionScriptValue | ( | bool | bInput | ) |
Burger::Flash::ActionScriptValue::ActionScriptValue | ( | int | iInput | ) |
Burger::Flash::ActionScriptValue::ActionScriptValue | ( | float | fInput | ) |
Burger::Flash::ActionScriptValue::ActionScriptValue | ( | double | dInput | ) |
Burger::Flash::ActionScriptValue::ActionScriptValue | ( | ActionScriptObject * | pObject | ) |
Burger::Flash::ActionScriptValue::ActionScriptValue | ( | Manager * | pManager, |
ActionScriptCFunctionProc | pProc ) |
Burger::Flash::ActionScriptValue::ActionScriptValue | ( | ActionScriptSFunction * | pInput | ) |
Burger::Flash::ActionScriptValue::ActionScriptValue | ( | const ActionScriptValue & | rGetFunction, |
const ActionScriptValue & | rSetFunction ) |
Burger::Flash::ActionScriptValue::~ActionScriptValue | ( | ) |
|
inline |
ActionScriptFunction * Burger::Flash::ActionScriptValue::CastToFunction | ( | void | ) | const |
ActionScriptObject * Burger::Flash::ActionScriptValue::CastToObject | ( | void | ) | const |
ActionScriptProperty * Burger::Flash::ActionScriptValue::CastToProperty | ( | void | ) | const |
|
static |
uint_t Burger::Flash::ActionScriptValue::FindProperty | ( | const String & | rInput, |
ActionScriptValue * | pValue ) |
uint_t Burger::Flash::ActionScriptValue::FindPropertyOwner | ( | const String & | rInput, |
ActionScriptValue * | pValue ) |
|
inline |
void Burger::Flash::ActionScriptValue::GetProperty | ( | ActionScriptValue * | pScript | ) | const |
void Burger::Flash::ActionScriptValue::GetProperty | ( | const ActionScriptValue & | rInput, |
ActionScriptValue * | pScript ) const |
const ActionScriptObject * Burger::Flash::ActionScriptValue::GetPropertyTarget | ( | void | ) | const |
const char * Burger::Flash::ActionScriptValue::GetTypeOf | ( | void | ) | const |
|
inline |
|
inline |
uint_t Burger::Flash::ActionScriptValue::IsFunction | ( | void | ) | const |
uint_t Burger::Flash::ActionScriptValue::IsInstanceOf | ( | const ActionScriptFunction * | pFunction | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
uint_t Burger::Flash::ActionScriptValue::operator!= | ( | const ActionScriptValue & | rInput | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Burger::Flash::ActionScriptValue::operator= | ( | const ActionScriptValue & | rInput | ) |
uint_t Burger::Flash::ActionScriptValue::operator== | ( | const ActionScriptValue & | rInput | ) | const |
|
inline |
|
inline |
|
static |
void Burger::Flash::ActionScriptValue::ReleaseReferences | ( | void | ) |
void Burger::Flash::ActionScriptValue::SetAsCFunction | ( | Manager * | pManager, |
ActionScriptCFunctionProc | pProc ) |
void Burger::Flash::ActionScriptValue::SetAsObject | ( | ActionScriptObject * | pObject | ) |
void Burger::Flash::ActionScriptValue::SetBool | ( | uint_t | bInput | ) |
void Burger::Flash::ActionScriptValue::SetDouble | ( | double | dInput | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void Burger::Flash::ActionScriptValue::SetProperty | ( | const ActionScriptValue & | rInput | ) |
void Burger::Flash::ActionScriptValue::SetPropertyTarget | ( | ActionScriptObject * | pObject | ) |
void Burger::Flash::ActionScriptValue::SetString | ( | const char * | pInput | ) |
void Burger::Flash::ActionScriptValue::SetString | ( | const String & | rInput | ) |
void Burger::Flash::ActionScriptValue::SetUndefined | ( | void | ) |
|
inline |
uint_t Burger::Flash::ActionScriptValue::ToBool | ( | void | ) | const |
const char * Burger::Flash::ActionScriptValue::ToCharPtr | ( | void | ) | const |
const char * Burger::Flash::ActionScriptValue::ToDebugString | ( | void | ) | const |
double Burger::Flash::ActionScriptValue::ToDouble | ( | void | ) | const |
|
inline |
|
inline |
const String & Burger::Flash::ActionScriptValue::ToString | ( | void | ) | const |
|
private |
Boolean value.
|
private |
Numeric value (As double)
|
private |
Type of data contained.
|
private |
Object that this variable belongs to.
|
private |
Property for this variable.
|
private |
Property target for this variable.
|
mutableprivate |
eValueFlag flags