Main Page   File List   Globals  

seq.h File Reference

Sequence container functions. More...

#include <libgnurdf/types.h>

Go to the source code of this file.

Functions

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

RdfElementrdfSeqAddValue (RdfSeq *seq, const char *property, RdfNamespace *ns, const char *value, RdfElement *element)
 Adds a property to the sequence container. More...


Detailed Description

Sequence container functions.

Id:
seq.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

RdfSeq* rdfCreateSeq RdfElement   parent,
const char *    property,
RdfNamespace   ns
 

Creates a new sequence container.

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

RdfElement* rdfSeqAddValue RdfSeq   seq,
const char *    property,
RdfNamespace   ns,
const char *    value,
RdfElement   element
 

Adds a property to the sequence container.

Parameters:
seq   The sequence 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.


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