Sets the value of a property.
Implements FB::JSAPI. Definition at line 224 of file JSAPIAuto.cpp. 231 // Note that if an explicit property exists but is not accessible in the current security context,
247 } else if (m_allowDynamicAttributes || (m_attributes.find(propertyName) != m_attributes.end() && !m_attributes[propertyName].readonly)) {
virtual void registerAttribute(const std::string &name, const FB::variant &value, bool readonly=false) Registers an attribute name and sets the value to _value. Optionally read-only. Definition: JSAPIAuto.cpp:383 Thrown by a JSAPI object when the argument(s) provided to a SetProperty or Invoke call are found to b... Definition: JSExceptions.h:47 Thrown when variant::cast<type> or variant::convert_cast<type> fails because the type of the value st... Definition: variant.h:133 |
Generated on Fri Dec 15 2017 16:00:05 for FireBreath by
