FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
ElementPtr FB::DOM::Document::getHead ( ) const
virtual

Gets a DOM::ElementPtr for the document's head.

Returns
The document's head.

Definition at line 38 of file ScriptingCore/DOM/Document.cpp.

39 {
40  JSObjectPtr api = getProperty<FB::JSObjectPtr>("head");
41  return Element::create(api);
42 }
boost::shared_ptr< FB::JSObject > JSObjectPtr
Defines an alias representing a JSObject shared_ptr (you should never use a JSObject* directly) ...
Definition: APITypes.h:109
static ElementPtr create(const FB::JSObjectPtr &api)
Creates a FB::DOM::Element object from a JSObjectPtr representing a DOM object. This will probably th...