ScummVM API documentation
MTropolis::DynamicValue Struct Reference

Public Member Functions

 DynamicValue (const DynamicValue &other)
 
bool loadConstant (const Data::InternalTypeTaggedValue &data, const Common::String &varString)
 
bool loadConstant (const Data::PlugInTypeTaggedValue &data)
 
DynamicValueTypes::DynamicValueType getType () const
 
const int32 & getInt () const
 
const double & getFloat () const
 
const Common::PointgetPoint () const
 
const IntRangegetIntRange () const
 
const AngleMagVectorgetVector () const
 
const LabelgetLabel () const
 
const EventgetEvent () const
 
const Common::StringgetString () const
 
const bool & getBool () const
 
const Common::SharedPtr< DynamicList > & getList () const
 
const ObjectReferencegetObject () const
 
const DynamicValueWriteProxygetWriteProxy () const
 
void clear ()
 
void setInt (int32 value)
 
void setFloat (double value)
 
void setPoint (const Common::Point &value)
 
void setIntRange (const IntRange &value)
 
void setVector (const AngleMagVector &value)
 
void setLabel (const Label &value)
 
void setEvent (const Event &value)
 
void setString (const Common::String &value)
 
void setBool (bool value)
 
void setList (const Common::SharedPtr< DynamicList > &value)
 
void setObject (const ObjectReference &value)
 
void setObject (const Common::WeakPtr< RuntimeObject > &value)
 
void setWriteProxy (const DynamicValueWriteProxy &writeProxy)
 
bool roundToInt (int32 &outInt) const
 
bool convertToType (DynamicValueTypes::DynamicValueType targetType, DynamicValue &result) const
 
DynamicValue dereference () const
 
DynamicValueoperator= (const DynamicValue &other)
 
bool operator== (const DynamicValue &other) const
 
bool operator!= (const DynamicValue &other) const
 

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