FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
FB::detail::VariantListInserter FB::variant_list_of ( FB::variant  v)
inline

Allows convenient creation of an FB::VariantList.

Returns
A helper type that overloads operator() for insertion and is convertible to FB::VariantList.

Examples:

FireEvent("randomDiceRoll", FB::variant_list_of(4));

Definition at line 122 of file variant_list.h.

Referenced by FB::DOM::Window::alert(), FB::BrowserHost::AsyncHtmlLog(), FB::DOM::Document::createElement(), FB::BrowserHost::delayedInvoke(), FB::DOM::Element::getElementById(), FB::DOM::Element::getElementsByTagName(), and FB::PluginCore::setReady().

123  {
124  return FB::detail::VariantListInserter(v);
125  }