Main Page   File List   Globals  

bag.h File Reference

Bag container functions. More...

#include <libgnurdf/types.h>

Go to the source code of this file.

Functions

RdfBagrdfCreateBag (RdfElement *parent, const char *property, RdfNamespace *ns)
 Creates a new bag container. More...

RdfElementrdfBagAddValue (RdfBag *bag, const char *property, RdfNamespace *ns, const char *value, RdfElement *element)
 Adds a property to the bag container. More...


Detailed Description

Bag container functions.

Id:
bag.h,v 1.3 2001/08/23 08:51:22 chipx86 Exp
Copyright:
(C) 1999-2001 The GNUpdate Project.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Function Documentation

RdfElement* rdfBagAddValue RdfBag   bag,
const char *    property,
RdfNamespace   ns,
const char *    value,
RdfElement   element
 

Adds a property to the bag container.

Parameters:
bag   The bag container.
property   The property's name.
ns   The property's namespace.
value   The value of the property, if not NULL.
element   The property's element, if not NULL.
Returns:
The new element.

RdfBag* rdfCreateBag RdfElement   parent,
const char *    property,
RdfNamespace   ns
 

Creates a new bag container.

Parameters:
parent   The parent which will hold the bag container.
property   The name of the bag container's property.
ns   The bag container's namespace.
Returns:
The new bag container.


Generated on Thu Sep 20 16:12:08 2001 for libgnurdf by doxygen1.2.9-20010819 written by Dimitri van Heesch, © 1997-2001