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
|
<!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 bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.9.1 -->
<center>
<a class="qindex" href="index.html">Main Page</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>
</font></pre></div><hr><address><small>Generated at Tue Jan 22 14:52:48 2002 for The Sword Project by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.2.9.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
© 1997-2001</small></address>
</body>
</html>
|