Log4gProvisionNode

Log4gProvisionNode — Log repository temporary nodes

Synopsis

                    Log4gProvisionNode;
                    Log4gProvisionNodeClass;
Log4gProvisionNode * log4g_provision_node_new           (gpointer object);
void                log4g_provision_node_add_element    (Log4gProvisionNode *self,
                                                         gpointer object);
guint               log4g_provision_node_size           (Log4gProvisionNode *self);
gpointer            log4g_provision_node_element_at     (Log4gProvisionNode *self,
                                                         guint index);

Description

Provision nodes are place holders for non-instantiated loggers within the logger hierarchy.

see_also: Log4gHierarchy

Details

Log4gProvisionNode

typedef struct {
} Log4gProvisionNode;

The Log4gProvisionNode structure does not have any public members.


Log4gProvisionNodeClass

typedef struct {
} Log4gProvisionNodeClass;

The Log4gProvisionNodeClass structure does not have any public members.


log4g_provision_node_new ()

Log4gProvisionNode * log4g_provision_node_new           (gpointer object);

Create a Log4gProvisionNode object and add an element.

object :

The object to add to this provision node.

Returns :

A new Log4gProvisionNode object.

Since 0.1


log4g_provision_node_add_element ()

void                log4g_provision_node_add_element    (Log4gProvisionNode *self,
                                                         gpointer object);

Add an element to a provision node.

self :

A provision node object.

object :

The object to add to self.

Since 0.1


log4g_provision_node_size ()

guint               log4g_provision_node_size           (Log4gProvisionNode *self);

Retrieve the number of objects in a provision node.

self :

A provision node object.

Since 0.1


log4g_provision_node_element_at ()

gpointer            log4g_provision_node_element_at     (Log4gProvisionNode *self,
                                                         guint index);

Retrieve an indexed element from a provision node.

self :

A provision node object.

index :

The object index to retrieve.

Returns :

The object at index or NULL if none exists.

Since 0.1