Source Code (Use browser search to find items of interest.)

Class Index

kdelibs'HTMLCollection (./kdelibs/khtml/ecma/kjs_html.h:65)

  class HTMLCollection : public HostObject {
  public:
    HTMLCollection(DOM::HTMLCollection c) : collection(c) { }
    virtual KJSO *get(const UString &p);
  private:
    DOM::HTMLCollection collection;
  };


kdelibs'HTMLCollection::HTMLCollection() (./kdelibs/khtml/dom/html_misc.cpp:101)

HTMLCollection::HTMLCollection()
  : impl(0)
{
}


kdelibs'HTMLCollection::HTMLCollection() (./kdelibs/khtml/dom/html_misc.cpp:106)

HTMLCollection::HTMLCollection(const HTMLCollection &other)
{
    impl = other.impl;
    if(impl) impl->ref();
}


kdelibs'HTMLCollection::HTMLCollection() (./kdelibs/khtml/dom/html_misc.cpp:112)

HTMLCollection::HTMLCollection(NodeImpl *base, int type)
{
    impl = new HTMLCollectionImpl(base, type);
    impl->ref();
}


kdelibs'HTMLCollection::~HTMLCollection() (./kdelibs/khtml/dom/html_misc.cpp:127)

HTMLCollection::~HTMLCollection()
{
    if(impl) impl->deref();
}


kdelibs'HTMLCollection::length() (./kdelibs/khtml/dom/html_misc.cpp:132)

unsigned long HTMLCollection::length() const
{
    if(!impl) return 0;
    return ((HTMLCollectionImpl *)impl)->length();
}


kdelibs'HTMLCollection::item() (./kdelibs/khtml/dom/html_misc.cpp:138)

Node HTMLCollection::item( unsigned long index ) const
{
    if(!impl) return 0;
    return ((HTMLCollectionImpl *)impl)->item( index );
}


kdelibs'HTMLCollection::namedItem() (./kdelibs/khtml/dom/html_misc.cpp:144)

Node HTMLCollection::namedItem( const DOMString &name ) const
{
    if(!impl) return 0;
    return ((HTMLCollectionImpl *)impl)->namedItem( name );
}