Skip to end of metadata
Go to start of metadata

public virtual FB::variant FB::JSAPIAuto::getAttribute ( const std::string &  name  )  [virtual]

Returns the attribute with the given name, empty variant if none.

Parameters:
name name of the attribute to get
Returns:
FB::variant
Since:
1.4a3
See also:
registerAttribute
setAttribute
removeAttribute

Definition at line 404 of file JSAPIAuto.cpp.

Referenced by FireJSEvent().

00405 {
00406     if (m_attributes.find(name) != m_attributes.end()) {
00407         return m_attributes[name].value;
00408     }
00409     return FB::FBVoid();
00410 }


Generated on 18 Jun 2013 for FireBreath by  doxygen 1.6.1
Labels
  • None