• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdehtml
 

tdehtml

  • DOM
  • NodeList
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
DOM::NodeList Class Reference

#include <dom_node.h>

Public Member Functions

 NodeList (const NodeList &other)
 
NodeList & operator= (const NodeList &other)
 
unsigned long length () const
 
Node item (unsigned long index) const
 
NodeListImpl * handle () const
 
bool isNull () const
 

Protected Member Functions

 NodeList (const NodeListImpl *i)
 

Protected Attributes

NodeListImpl * impl
 

Friends

class Element
 
class Node
 
class Document
 
class HTMLDocument
 
class KJS::HTMLDocument
 
class KJS::Window
 

Detailed Description

The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.

The items in the NodeList are accessible via an integral index, starting from 0.

Definition at line 931 of file dom_node.h.

Constructor & Destructor Documentation

◆ NodeList() [1/3]

NodeList::NodeList ( )

Definition at line 453 of file dom_node.cpp.

◆ NodeList() [2/3]

NodeList::NodeList ( const NodeList &  other)

Definition at line 458 of file dom_node.cpp.

◆ ~NodeList()

NodeList::~NodeList ( )

Definition at line 480 of file dom_node.cpp.

◆ NodeList() [3/3]

NodeList::NodeList ( const NodeListImpl *  i)
protected

Definition at line 464 of file dom_node.cpp.

Member Function Documentation

◆ handle()

NodeListImpl * DOM::NodeList::handle ( ) const
inline

Definition at line 973 of file dom_node.h.

◆ isNull()

bool DOM::NodeList::isNull ( ) const
inline

Definition at line 974 of file dom_node.h.

◆ item()

Node NodeList::item ( unsigned long  index) const

Returns the index th item in the collection.

If index is greater than or equal to the number of nodes in the list, this returns null .

Parameters
indexIndex into the collection.
Returns
The node at the index th position in the NodeList , or null if that is not a valid index.

Definition at line 485 of file dom_node.cpp.

◆ length()

unsigned long NodeList::length ( ) const

The number of nodes in the list.

The range of valid child node indices is 0 to length-1 inclusive.

Definition at line 491 of file dom_node.cpp.

◆ operator=()

NodeList & NodeList::operator= ( const NodeList &  other)

Definition at line 470 of file dom_node.cpp.

Friends And Related Function Documentation

◆ Document

friend class Document
friend

Definition at line 935 of file dom_node.h.

◆ Element

friend class Element
friend

Definition at line 933 of file dom_node.h.

◆ HTMLDocument

friend class HTMLDocument
friend

Definition at line 936 of file dom_node.h.

◆ KJS::HTMLDocument

friend class KJS::HTMLDocument
friend

Definition at line 937 of file dom_node.h.

◆ KJS::Window

friend class KJS::Window
friend

Definition at line 938 of file dom_node.h.

◆ Node

friend class Node
friend

Definition at line 934 of file dom_node.h.

Member Data Documentation

◆ impl

NodeListImpl* DOM::NodeList::impl
protected

Definition at line 978 of file dom_node.h.


The documentation for this class was generated from the following files:
  • dom_node.h
  • dom_node.cpp

tdehtml

Skip menu "tdehtml"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdehtml

Skip menu "tdehtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.9.4
This website is maintained by Timothy Pearson.