ScummVM API documentation
MediaStation::ScriptValue Class Reference

Public Member Functions

 ScriptValue (ParameterReadStream *stream)
 
ScriptValueType getType () const
 
void setToFloat (uint i)
 
void setToFloat (int i)
 
void setToFloat (double d)
 
double asFloat () const
 
int asIntFromFloat () 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: