<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>entriesblk.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.15 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </center> <hr><h1>entriesblk.h</h1><div class="fragment"><pre>00001 <font class="preprocessor">#ifndef ENTRIESBLK_H</font> 00002 <font class="preprocessor"></font><font class="preprocessor">#define ENTRIESBLK_H</font> 00003 <font class="preprocessor"></font> 00004 <font class="preprocessor">#include <sysdata.h></font> 00005 00006 <font class="keyword">class </font>EntriesBlock { 00007 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">int</font> METAHEADERSIZE; 00008 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">int</font> METAENTRYSIZE; 00009 00010 <font class="keyword">private</font>: 00011 <font class="keywordtype">char</font> *block; 00012 <font class="keywordtype">void</font> setCount(<font class="keywordtype">int</font> count); 00013 <font class="keywordtype">void</font> getMetaEntry(<font class="keywordtype">int</font> index, <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> *offset, <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> *size); 00014 <font class="keywordtype">void</font> setMetaEntry(<font class="keywordtype">int</font> index, <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> offset, <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> size); 00015 00016 <font class="keyword">public</font>: 00017 EntriesBlock(<font class="keyword">const</font> <font class="keywordtype">char</font> *iBlock, <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> size); 00018 EntriesBlock(); 00019 ~EntriesBlock(); 00020 00021 <font class="keywordtype">int</font> getCount(); 00022 <font class="keywordtype">int</font> addEntry(<font class="keyword">const</font> <font class="keywordtype">char</font> *entry); 00023 <font class="keyword">const</font> <font class="keywordtype">char</font> *getEntry(<font class="keywordtype">int</font> entryIndex); 00024 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> getEntrySize(<font class="keywordtype">int</font> entryIndex); 00025 <font class="keywordtype">void</font> removeEntry(<font class="keywordtype">int</font> entryIndex); 00026 <font class="keyword">const</font> <font class="keywordtype">char</font> *getRawData(<font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> *size); 00027 }; 00028 00029 00030 <font class="preprocessor">#endif</font> </pre></div><hr><address align="right"><small>Generated on Thu Jun 20 22:12:59 2002 for The Sword Project by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.15 </small></address> </body> </html>