2
<!-- Regina data file format documentation.
3
See ../regina.sgml for further details. -->
5
<refentry id="data-flags">
7
<refentrytitle>flags</refentrytitle>
8
<manvolnum>5reg</manvolnum>
12
<refname>flags</refname>
13
<refpurpose>An arbitrary set of flags</refpurpose>
17
<informaltable frame="all">
19
<colspec colname="c1"/>
20
<colspec colname="c2"/>
22
<row><entry namest="c1" nameend="c2">
23
<emphasis role="bold">Content Model</emphasis>
25
<row><entry namest="c1" nameend="c2">
29
<row><entry namest="c1" nameend="c2">
30
<emphasis role="bold">Attributes</emphasis>
33
<entry><emphasis role="bold">Name</emphasis></entry>
34
<entry><emphasis role="bold">Type</emphasis></entry>
37
<entry><sgmltag>value</sgmltag></entry>
38
<entry><type>NUMBER</type> (required)</entry>
46
<title>Description</title>
48
A &xml-flags; element stores an arbitrary set of flags combined into
53
<title>Parents</title>
55
The following elements contain <sgmltag>flags</sgmltag>:
56
<simplelist type="inline">
57
<member>&xml-struct;</member>
63
<title>Children</title>
65
Element <sgmltag>flags</sgmltag> has no children.
71
<title>Attributes</title>
74
<term><sgmltag>value</sgmltag></term>
77
A single integer containing the values of all the flags under
78
consideration. Generally these flags take boolean values (or
79
belong to very small enumerations) and are thus stored as
80
individual bits (or small clumps of bits) in this integer's binary