API documentation  2.0rc1
Public Member Functions | List of all members
client::Node Class Reference

#include <clientlib.h>

Inherits client::EventTarget.

Inherited by client::Attr, client::CharacterData, client::Document, client::DocumentFragment, client::DocumentType, and client::Element.

Public Member Functions

Stringget_baseURI ()
 
NodeListOf< Node > * get_childNodes ()
 
Nodeget_firstChild ()
 
bool get_isConnected ()
 
Nodeget_lastChild ()
 
Stringget_localName ()
 
Stringget_namespaceURI ()
 
Nodeget_nextSibling ()
 
Stringget_nodeName ()
 
double get_nodeType ()
 
Stringget_nodeValue ()
 
void set_nodeValue (const String &)
 
Documentget_ownerDocument ()
 
HTMLElementget_parentElement ()
 
Nodeget_parentNode ()
 
Nodeget_previousSibling ()
 
Stringget_textContent ()
 
void set_textContent (const String &)
 
NodeappendChild (Node *newChild)
 
NodecloneNode ()
 
NodecloneNode (bool deep)
 
double compareDocumentPosition (Node *other)
 
bool contains (Node *child)
 
bool hasChildNodes ()
 
NodeinsertBefore (Node *newChild, Node *refChild)
 
bool isDefaultNamespace (const String &namespaceURI)
 
bool isEqualNode (Node *arg)
 
bool isSameNode (Node *other)
 
StringlookupNamespaceURI (const String &prefix)
 
StringlookupPrefix (const String &namespaceURI)
 
void normalize ()
 
NoderemoveChild (Node *oldChild)
 
NodereplaceChild (Node *newChild, Node *oldChild)
 
Nodeget_prototype ()
 
void set_prototype (Node *)
 
 Node ()
 
double get_ATTRIBUTE_NODE ()
 
double get_CDATA_SECTION_NODE ()
 
double get_COMMENT_NODE ()
 
double get_DOCUMENT_FRAGMENT_NODE ()
 
double get_DOCUMENT_NODE ()
 
double get_DOCUMENT_POSITION_CONTAINED_BY ()
 
double get_DOCUMENT_POSITION_CONTAINS ()
 
double get_DOCUMENT_POSITION_DISCONNECTED ()
 
double get_DOCUMENT_POSITION_FOLLOWING ()
 
double get_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC ()
 
double get_DOCUMENT_POSITION_PRECEDING ()
 
double get_DOCUMENT_TYPE_NODE ()
 
double get_ELEMENT_NODE ()
 
double get_ENTITY_NODE ()
 
double get_ENTITY_REFERENCE_NODE ()
 
double get_NOTATION_NODE ()
 
double get_PROCESSING_INSTRUCTION_NODE ()
 
double get_TEXT_NODE ()
 
- Public Member Functions inherited from client::EventTarget
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
bool dispatchEvent (Event *evt)
 
void removeEventListener (const String &type)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, bool options)
 
EventTargetget_prototype ()
 
void set_prototype (EventTarget *)
 
 EventTarget ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ Node()

client::Node::Node ( )

Member Function Documentation

◆ appendChild()

Node* client::Node::appendChild ( Node newChild)

◆ cloneNode() [1/2]

Node* client::Node::cloneNode ( )

◆ cloneNode() [2/2]

Node* client::Node::cloneNode ( bool  deep)

◆ compareDocumentPosition()

double client::Node::compareDocumentPosition ( Node other)

◆ contains()

bool client::Node::contains ( Node child)

◆ get_ATTRIBUTE_NODE()

double client::Node::get_ATTRIBUTE_NODE ( )

◆ get_baseURI()

String* client::Node::get_baseURI ( )

◆ get_CDATA_SECTION_NODE()

double client::Node::get_CDATA_SECTION_NODE ( )

◆ get_childNodes()

NodeListOf<Node>* client::Node::get_childNodes ( )

◆ get_COMMENT_NODE()

double client::Node::get_COMMENT_NODE ( )

◆ get_DOCUMENT_FRAGMENT_NODE()

double client::Node::get_DOCUMENT_FRAGMENT_NODE ( )

◆ get_DOCUMENT_NODE()

double client::Node::get_DOCUMENT_NODE ( )

◆ get_DOCUMENT_POSITION_CONTAINED_BY()

double client::Node::get_DOCUMENT_POSITION_CONTAINED_BY ( )

◆ get_DOCUMENT_POSITION_CONTAINS()

double client::Node::get_DOCUMENT_POSITION_CONTAINS ( )

◆ get_DOCUMENT_POSITION_DISCONNECTED()

double client::Node::get_DOCUMENT_POSITION_DISCONNECTED ( )

◆ get_DOCUMENT_POSITION_FOLLOWING()

double client::Node::get_DOCUMENT_POSITION_FOLLOWING ( )

◆ get_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC()

double client::Node::get_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC ( )

◆ get_DOCUMENT_POSITION_PRECEDING()

double client::Node::get_DOCUMENT_POSITION_PRECEDING ( )

◆ get_DOCUMENT_TYPE_NODE()

double client::Node::get_DOCUMENT_TYPE_NODE ( )

◆ get_ELEMENT_NODE()

double client::Node::get_ELEMENT_NODE ( )

◆ get_ENTITY_NODE()

double client::Node::get_ENTITY_NODE ( )

◆ get_ENTITY_REFERENCE_NODE()

double client::Node::get_ENTITY_REFERENCE_NODE ( )

◆ get_firstChild()

Node* client::Node::get_firstChild ( )

◆ get_isConnected()

bool client::Node::get_isConnected ( )

◆ get_lastChild()

Node* client::Node::get_lastChild ( )

◆ get_localName()

String* client::Node::get_localName ( )

◆ get_namespaceURI()

String* client::Node::get_namespaceURI ( )

◆ get_nextSibling()

Node* client::Node::get_nextSibling ( )

◆ get_nodeName()

String* client::Node::get_nodeName ( )

◆ get_nodeType()

double client::Node::get_nodeType ( )

◆ get_nodeValue()

String* client::Node::get_nodeValue ( )

◆ get_NOTATION_NODE()

double client::Node::get_NOTATION_NODE ( )

◆ get_ownerDocument()

Document* client::Node::get_ownerDocument ( )

◆ get_parentElement()

HTMLElement* client::Node::get_parentElement ( )

◆ get_parentNode()

Node* client::Node::get_parentNode ( )

◆ get_previousSibling()

Node* client::Node::get_previousSibling ( )

◆ get_PROCESSING_INSTRUCTION_NODE()

double client::Node::get_PROCESSING_INSTRUCTION_NODE ( )

◆ get_prototype()

Node* client::Node::get_prototype ( )

◆ get_TEXT_NODE()

double client::Node::get_TEXT_NODE ( )

◆ get_textContent()

String* client::Node::get_textContent ( )

◆ hasChildNodes()

bool client::Node::hasChildNodes ( )

◆ insertBefore()

Node* client::Node::insertBefore ( Node newChild,
Node refChild 
)

◆ isDefaultNamespace()

bool client::Node::isDefaultNamespace ( const String namespaceURI)

◆ isEqualNode()

bool client::Node::isEqualNode ( Node arg)

◆ isSameNode()

bool client::Node::isSameNode ( Node other)

◆ lookupNamespaceURI()

String* client::Node::lookupNamespaceURI ( const String prefix)

◆ lookupPrefix()

String* client::Node::lookupPrefix ( const String namespaceURI)

◆ normalize()

void client::Node::normalize ( )

◆ removeChild()

Node* client::Node::removeChild ( Node oldChild)

◆ replaceChild()

Node* client::Node::replaceChild ( Node newChild,
Node oldChild 
)

◆ set_nodeValue()

void client::Node::set_nodeValue ( const String )

◆ set_prototype()

void client::Node::set_prototype ( Node )

◆ set_textContent()

void client::Node::set_textContent ( const String )