FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::DOM::Node::setProperty ( const std::wstring &  name,
const variant val 
) const
virtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 37 of file ScriptingCore/DOM/Node.cpp.

References FB::wstring_to_utf8().

38 {
39  setProperty(FB::wstring_to_utf8(name), val);
40 }
virtual void setProperty(const std::wstring &name, const variant &val) const
std::string wstring_to_utf8(const std::wstring &src)
Accepts a std::wstring and returns a UTF8-encoded std::string.
Definition: utf8_tools.cpp:37

Here is the call graph for this function: