class Poco::XML::ChildNodesList

Overview

#include <ChildNodesList.h>

class ChildNodesList: public Poco::XML::NodeList
{
public:
    // methods

    virtual
    Node*
    item(unsigned long index) const;

    virtual
    unsigned long
    length() const;

    virtual
    void
    autoRelease();

protected:
    // construction

    ChildNodesList(const Node* pParent);
};

Inherited Members

public:
    // methods

    void
    duplicate() const;

    void
    release() const;

    virtual
    void
    autoRelease() = 0;

    virtual
    Node*
    item(unsigned long index) const = 0;

    virtual
    unsigned long
    length() const = 0;

Detailed Documentation

Methods

virtual
Node*
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.

virtual
unsigned long
length() const

Returns the number of nodes in the list.

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

virtual
void
autoRelease()

Adds the object to an appropriate AutoReleasePool, which is usually the AutoReleasePool managed by the Document to which this object belongs.