GdomeNodeList

Name

GdomeNodeList -- Interface NodeList implementation.

Synopsis



struct      GdomeNodeList;
void        gdome_nl_ref                    (GdomeNodeList *self,
                                             GdomeException *exc);
void        gdome_nl_unref                  (GdomeNodeList *self,
                                             GdomeException *exc);
gpointer    gdome_nl_query_interface        (GdomeNodeList *self,
                                             const char *interface,
                                             GdomeException *exc);
GdomeNode*  gdome_nl_item                   (GdomeNodeList *self,
                                             gulong index,
                                             GdomeException *exc);
gulong      gdome_nl_length                 (GdomeNodeList *self,
                                             GdomeException *exc);

Description

The GdomeNodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. GdomeNodeList objects in the DOM are live.

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

Details

struct GdomeNodeList

struct GdomeNodeList {
	gpointer user_data;
};


gdome_nl_ref ()

void        gdome_nl_ref                    (GdomeNodeList *self,
                                             GdomeException *exc);

Increase the reference count of the specified NodeList.


gdome_nl_unref ()

void        gdome_nl_unref                  (GdomeNodeList *self,
                                             GdomeException *exc);

Decrease the reference count of the specified NodeList. Free the NodeList structure if the specified NodeList will have zero reference.


gdome_nl_query_interface ()

gpointer    gdome_nl_query_interface        (GdomeNodeList *self,
                                             const char *interface,
                                             GdomeException *exc);


gdome_nl_item ()

GdomeNode*  gdome_nl_item                   (GdomeNodeList *self,
                                             gulong index,
                                             GdomeException *exc);


gdome_nl_length ()

gulong      gdome_nl_length                 (GdomeNodeList *self,
                                             GdomeException *exc);