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

Gets the parent node of the current Element.

Returns
The parent node.

Definition at line 77 of file ScriptingCore/DOM/Element.cpp.

78 {
79  ElementPtr retVal(getElement("parentNode"));
80  return retVal;
81 }
virtual ElementPtr getElement(const std::string &name) const
Gets a child element of the specified name.
boost::shared_ptr< Element > ElementPtr
shared_ptr for a FB::DOM::Element