/usr/share/doc/libxbase-dev/html/structxbSchema.html is in libxbase64-dev 3.1.2-0ubutu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Xbase64 Class Library: xbSchema Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Xbase64 Class Library
 <span id="projectnumber">3.1.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> |
<a href="structxbSchema-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">xbSchema Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Used to define the fields in a database (DBF file).
<a href="structxbSchema.html#details">More...</a></p>
<p><code>#include <<a class="el" href="xbdbf_8h_source.html">xbdbf.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3e2641373d89b7ffe6ab6240d1bfbaa5"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="structxbSchema.html#a3e2641373d89b7ffe6ab6240d1bfbaa5">FieldName</a> [11]</td></tr>
<tr class="separator:a3e2641373d89b7ffe6ab6240d1bfbaa5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5e8c2c968c4df5003c7f19848e9ddf6d"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="structxbSchema.html#a5e8c2c968c4df5003c7f19848e9ddf6d">Type</a></td></tr>
<tr class="separator:a5e8c2c968c4df5003c7f19848e9ddf6d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7510dc03ffcd8d247ea8f684762bc962"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="structxbSchema.html#a7510dc03ffcd8d247ea8f684762bc962">FieldLen</a></td></tr>
<tr class="separator:a7510dc03ffcd8d247ea8f684762bc962"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ec26c1e0f13adaa8e513d113488c370"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="structxbSchema.html#a3ec26c1e0f13adaa8e513d113488c370">NoOfDecs</a></td></tr>
<tr class="separator:a3ec26c1e0f13adaa8e513d113488c370"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Used to define the fields in a database (DBF file). </p>
<p>Generally one would define an <a class="el" href="structxbSchema.html" title="Used to define the fields in a database (DBF file). ">xbSchema</a> array to be passed to <a class="el" href="classxbDbf.html#a4084f716eb359ace90bcba256d4a53bb" title="Create the dbf file. ">xbDbf::CreateDatabase()</a> to define the fields in the database.</p>
<p>For example, one might create a declaration as follows:</p>
<div class="fragment"><div class="line"><a class="code" href="structxbSchema.html">xbSchema</a> MyRecord[] = </div>
<div class="line">{</div>
<div class="line"> { <span class="stringliteral">"FIRSTNAME"</span>, <a class="code" href="xbdbf_8h.html#a20f739b9d9dc6a002a246a999e76aeaa">XB_CHAR_FLD</a>, 15, 0 },</div>
<div class="line"> { <span class="stringliteral">"LASTNAME"</span>, <a class="code" href="xbdbf_8h.html#a20f739b9d9dc6a002a246a999e76aeaa">XB_CHAR_FLD</a>, 20, 0 },</div>
<div class="line"> { <span class="stringliteral">"BIRTHDATE"</span>, <a class="code" href="xbdbf_8h.html#a7f685e6f5fe804b2174725a27ce73adc">XB_DATE_FLD</a>, 8, 0 },</div>
<div class="line"> { <span class="stringliteral">"AMOUNT"</span>, <a class="code" href="xbdbf_8h.html#ae9fb6d69cc5edc94d36ae403c22ec1c6">XB_NUMERIC_FLD</a>, 9, 2 },</div>
<div class="line"> { <span class="stringliteral">"SWITCH"</span>, <a class="code" href="xbdbf_8h.html#a2f6d5073af761bc1a806a2c7b1c1d886">XB_LOGICAL_FLD</a>, 1, 0 },</div>
<div class="line"> { <span class="stringliteral">"FLOAT1"</span>, <a class="code" href="xbdbf_8h.html#a96ab4218d70ab603b4866354ce8c18cd">XB_FLOAT_FLD</a>, 9, 2 },</div>
<div class="line"> { <span class="stringliteral">"FLOAT2"</span>, <a class="code" href="xbdbf_8h.html#a96ab4218d70ab603b4866354ce8c18cd">XB_FLOAT_FLD</a>, 9, 1 },</div>
<div class="line"> { <span class="stringliteral">"FLOAT3"</span>, <a class="code" href="xbdbf_8h.html#a96ab4218d70ab603b4866354ce8c18cd">XB_FLOAT_FLD</a>, 9, 2 },</div>
<div class="line"> { <span class="stringliteral">"FLOAT4"</span>, <a class="code" href="xbdbf_8h.html#a96ab4218d70ab603b4866354ce8c18cd">XB_FLOAT_FLD</a>, 9, 3 },</div>
<div class="line"> { <span class="stringliteral">"MEMO1"</span>, <a class="code" href="xbdbf_8h.html#a23fa19b19cb43bd6dcc59a5a3f6c30ad">XB_MEMO_FLD</a>, 10, 0 },</div>
<div class="line"> { <span class="stringliteral">"ZIPCODE"</span>, <a class="code" href="xbdbf_8h.html#ae9fb6d69cc5edc94d36ae403c22ec1c6">XB_NUMERIC_FLD</a>, 5, 0 }, </div>
<div class="line"> { <span class="stringliteral">""</span>,0,0,0 }</div>
<div class="line">};</div>
</div><!-- fragment --><p>Note that the last <a class="el" href="structxbSchema.html" title="Used to define the fields in a database (DBF file). ">xbSchema</a> in an array must be a "null" entry like the one above:</p>
<div class="fragment"><div class="line">{ <span class="stringliteral">""</span>,0,0,0 }</div>
</div><!-- fragment --><p>To indicate the end of the array. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a7510dc03ffcd8d247ea8f684762bc962"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char xbSchema::FieldLen</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a3e2641373d89b7ffe6ab6240d1bfbaa5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char xbSchema::FieldName[11]</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a3ec26c1e0f13adaa8e513d113488c370"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char xbSchema::NoOfDecs</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5e8c2c968c4df5003c7f19848e9ddf6d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char xbSchema::Type</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="xbdbf_8h_source.html">xbdbf.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Apr 1 2014 16:51:00 for Xbase64 Class Library by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
|