ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
MediaStation::ScriptValue Class Reference

Public Member Functions

 ScriptValue (Common::SeekableReadStream *stream)
 
ScriptValueType getType () const
 
void setToFloat (double d)
 
double asFloat () const
 
void setToBool (bool b)
 
bool asBool () const
 
void setToTime (double d)
 
double asTime () const
 
void setToParamToken (uint paramToken)
 
uint asParamToken () const
 
void setToAssetId (uint assetId)
 
uint asAssetId () const
 
void setToString (const Common::String &string)
 
Common::String asString () const
 
void setToCollection (Common::SharedPtr< Collection > collection)
 
Common::SharedPtr< CollectionasCollection () const
 
void setToFunctionId (uint functionId)
 
uint asFunctionId () const
 
void setToMethodId (BuiltInMethod methodId)
 
BuiltInMethod asMethodId () const
 
bool operator== (const ScriptValue &other) const
 
bool operator!= (const ScriptValue &other) const
 
bool operator< (const ScriptValue &other) const
 
bool operator> (const ScriptValue &other) const
 
bool operator<= (const ScriptValue &other) const
 
bool operator>= (const ScriptValue &other) const
 
bool operator|| (const ScriptValue &other) const
 
bool operator^ (const ScriptValue &other) const
 
bool operator && (const ScriptValue &other) const
 
ScriptValue operator+ (const ScriptValue &other) const
 
ScriptValue operator- (const ScriptValue &other) const
 
ScriptValue operator* (const ScriptValue &other) const
 
ScriptValue operator/ (const ScriptValue &other) const
 
ScriptValue operator% (const ScriptValue &other) const
 
ScriptValue operator- () const
 

The documentation for this class was generated from the following file: