aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/tmpl/ephy-node-db.sgml
blob: f79f64142895d9eb3504b79d3be05412a414b72e (plain) (blame)
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
<!-- ##### SECTION Title ##### -->
EphyNodeDb

<!-- ##### SECTION Short_Description ##### -->
Data tree

<!-- ##### SECTION Long_Description ##### -->
<para>
An #EphyNodeDb is a database for arbitrary data organized in a tree.
</para>
<para>
Each database is stored along with its name in a global set of databases.
Databases can be created using ephy_node_db_new() and retrieved using
ephy_node_db_get_by_name().
</para>
<para>
Each #EphyNode inside an #EphyNodeDb is identified by a unique node ID. By
keeping a handle on the ID, one can use ephy_node_db_get_node_from_id() to
retrieve its corresponding #EphyNode.
</para>
<para>
#EphyNodeDb<!-- -->s can be saved to disk using ephy_node_db_write_to_xml_safe()
and restored using ephy_node_db_load_from_file().
</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>