File: bag-functions.texi

package info (click to toggle)
libgnurdf 0.3.0-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,108 kB
  • ctags: 233
  • sloc: sh: 8,929; ansic: 1,222; makefile: 280
file content (48 lines) | stat: -rw-r--r-- 906 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@node Bags, Sequences, , Container Functions
@chapter Bag Containers

@itemize @bullet
@item
Function: RdfBag *rdfCreateBag(RdfElement *parent, const char *property,
RdfNamespace *ns)
@findex rdfCreateBag

Creates and returns a new bag container.

@itemize @minus
@item
parent: The parent which will hold the bag container.

@item
property: The name of the bag container's property.

@item
ns: The bag container's namespace.
@end itemize

@item
Function: RdfElement *rdfBagAddValue(RdfBag *bag, const char *property,
RdfNamespace *ns, const char *value, RdfElement *element)
@findex rdfBagAddValue

Adds and returns a property to the bag container.

@itemize @minus
@item
bag: The bag container.

@item
property: The property's name.

@item
ns: The property's namespace.

@item
value: The value of the property, if not NULL.

@item
element: The property's element, if not NULL.
@end itemize

@end itemize