diff options
Diffstat (limited to 'doc/api-documentation/html/zverse_8h-source.html')
-rw-r--r-- | doc/api-documentation/html/zverse_8h-source.html | 114 |
1 files changed, 58 insertions, 56 deletions
diff --git a/doc/api-documentation/html/zverse_8h-source.html b/doc/api-documentation/html/zverse_8h-source.html index 5620f71..470d853 100644 --- a/doc/api-documentation/html/zverse_8h-source.html +++ b/doc/api-documentation/html/zverse_8h-source.html @@ -3,68 +3,70 @@ <title>zverse.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> -<!-- Generated by Doxygen 1.2.15 --> +<!-- Generated by Doxygen 1.2.17 --> <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>zverse.h</h1><div class="fragment"><pre>00001 <font class="comment">/******************************************************************************</font> -00002 <font class="comment"> * rawverse.h - code for class 'RawVerse'- a module that reads raw text</font> -00003 <font class="comment"> * files: ot and nt using indexs ??.bks ??.cps ??.vss</font> -00004 <font class="comment"> * and provides lookup and parsing functions based on</font> -00005 <font class="comment"> * class VerseKey</font> -00006 <font class="comment"> */</font> +<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="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> </center> +<hr><h1>zverse.h</h1><div class="fragment"><pre>00001 <span class="comment">/******************************************************************************</span> +00002 <span class="comment"> * rawverse.h - code for class 'zVerse'- a module that reads raw text</span> +00003 <span class="comment"> * files: ot and nt using indexs ??.bks ??.cps ??.vss</span> +00004 <span class="comment"> * and provides lookup and parsing functions based on</span> +00005 <span class="comment"> * class VerseKey</span> +00006 <span class="comment"> */</span> 00007 -00008 <font class="preprocessor">#ifndef ZVERSE_H</font> -00009 <font class="preprocessor"></font><font class="preprocessor">#define ZVERSE_H</font> -00010 <font class="preprocessor"></font> -00011 <font class="preprocessor">#include <filemgr.h></font> -00012 <font class="preprocessor">#include <fcntl.h></font> -00013 <font class="preprocessor">#include <rawverse.h></font> -00014 <font class="preprocessor">#include <swcomprs.h></font> +00008 <span class="preprocessor">#ifndef ZVERSE_H</span> +00009 <span class="preprocessor"></span><span class="preprocessor">#define ZVERSE_H</span> +00010 <span class="preprocessor"></span> +00011 <span class="preprocessor">#include <filemgr.h></span> +00012 <span class="preprocessor">#include <fcntl.h></span> +00013 <span class="preprocessor">#include <rawverse.h></span> +00014 <span class="preprocessor">#include <swcomprs.h></span> 00015 -00016 <font class="preprocessor">#include <defs.h></font> +00016 <span class="preprocessor">#include <defs.h></span> 00017 -00018 <font class="keyword">class </font>SWDLLEXPORT zVerse { -00019 SWCompress *compressor; -00020 -00021 <font class="keyword">protected</font>: -00022 <font class="keyword">static</font> <font class="keywordtype">int</font> instance; <font class="comment">// number of instantiated RawVerse objects or derivitives</font> -00023 -00024 FileDesc *idxfp[2]; -00025 FileDesc *textfp[2]; -00026 FileDesc *compfp[2]; -00027 <font class="keywordtype">char</font> *path; -00028 <font class="keywordtype">void</font> preptext (<font class="keywordtype">char</font> *buf); -00029 <font class="keywordtype">void</font> settext (<font class="keywordtype">char</font> testmt, <font class="keywordtype">long</font> idxoff, <font class="keyword">const</font> <font class="keywordtype">char</font> *buf, <font class="keywordtype">long</font> len = 0); -00030 <font class="keywordtype">void</font> linkentry (<font class="keywordtype">char</font> testmt, <font class="keywordtype">long</font> destidxoff, <font class="keywordtype">long</font> srcidxoff); -00031 <font class="keywordtype">void</font> flushCache (); -00032 <font class="comment">//RawVerse();</font> -00033 <font class="keywordtype">char</font> *cacheBuf; -00034 <font class="keywordtype">char</font> cacheTestament; -00035 <font class="keywordtype">long</font> cacheBufIdx; -00036 <font class="keywordtype">bool</font> dirtyCache; -00037 -00038 <font class="keyword">public</font>: -00039 -00040 <font class="preprocessor">#define VERSEBLOCKS 2</font> -00041 <font class="preprocessor"></font><font class="preprocessor">#define CHAPTERBLOCKS 3</font> -00042 <font class="preprocessor"></font><font class="preprocessor">#define BOOKBLOCKS 4</font> -00043 <font class="preprocessor"></font> -00044 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> uniqueIndexID[]; -00045 <font class="keywordtype">char</font> nl; -00046 +00018 SWORD_NAMESPACE_START +00019 +00020 <span class="keyword">class </span>SWDLLEXPORT zVerse { +00021 SWCompress *compressor; +00022 +00023 <span class="keyword">protected</span>: +00024 <span class="keyword">static</span> <span class="keywordtype">int</span> instance; <span class="comment">// number of instantiated zVerse objects or derivitives</span> +00025 +00026 FileDesc *idxfp[2]; +00027 FileDesc *textfp[2]; +00028 FileDesc *compfp[2]; +00029 <span class="keywordtype">char</span> *path; +00030 <span class="keywordtype">void</span> preptext(<span class="keywordtype">char</span> *buf); +00031 <span class="keywordtype">void</span> settext(<span class="keywordtype">char</span> testmt, <span class="keywordtype">long</span> idxoff, <span class="keyword">const</span> <span class="keywordtype">char</span> *buf, <span class="keywordtype">long</span> len = 0); +00032 <span class="keywordtype">void</span> linkentry(<span class="keywordtype">char</span> testmt, <span class="keywordtype">long</span> destidxoff, <span class="keywordtype">long</span> srcidxoff); +00033 <span class="keywordtype">void</span> flushCache(); +00034 <span class="keywordtype">char</span> *cacheBuf; +00035 <span class="keywordtype">char</span> cacheTestament; +00036 <span class="keywordtype">long</span> cacheBufIdx; +00037 <span class="keywordtype">bool</span> dirtyCache; +00038 +00039 <span class="keyword">public</span>: +00040 +00041 <span class="preprocessor">#define VERSEBLOCKS 2</span> +00042 <span class="preprocessor"></span><span class="preprocessor">#define CHAPTERBLOCKS 3</span> +00043 <span class="preprocessor"></span><span class="preprocessor">#define BOOKBLOCKS 4</span> +00044 <span class="preprocessor"></span> +00045 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> uniqueIndexID[]; +00046 <span class="keywordtype">char</span> nl; 00047 -00048 zVerse (<font class="keyword">const</font> <font class="keywordtype">char</font> *ipath, <font class="keywordtype">int</font> fileMode = O_RDONLY, <font class="keywordtype">int</font> blockType = CHAPTERBLOCKS, SWCompress * icomp = 0); -00049 <font class="keyword">virtual</font> ~ zVerse (); -00050 <font class="keywordtype">void</font> findoffset (<font class="keywordtype">char</font> testmt, <font class="keywordtype">long</font> idxoff, <font class="keywordtype">long</font> *start, <font class="keywordtype">unsigned</font> <font class="keywordtype">short</font> *end); -00051 <font class="keywordtype">void</font> swgettext (<font class="keywordtype">char</font> testmt, <font class="keywordtype">long</font> start, <font class="keywordtype">unsigned</font> <font class="keywordtype">short</font> size, <font class="keywordtype">char</font> *buf); -00052 <font class="keyword">static</font> <font class="keywordtype">char</font> createModule (<font class="keyword">const</font> <font class="keywordtype">char</font> *path, <font class="keywordtype">int</font> blockBound); -00053 }; -00054 -00055 -00056 <font class="preprocessor">#endif</font> -</pre></div><hr><address align="right"><small>Generated on Thu Jun 20 22:13:01 2002 for The Sword Project by +00048 +00049 zVerse(<span class="keyword">const</span> <span class="keywordtype">char</span> *ipath, <span class="keywordtype">int</span> fileMode = O_RDONLY, <span class="keywordtype">int</span> blockType = CHAPTERBLOCKS, SWCompress * icomp = 0); +00050 <span class="keyword">virtual</span> ~zVerse(); +00051 <span class="keywordtype">void</span> findoffset(<span class="keywordtype">char</span> testmt, <span class="keywordtype">long</span> idxoff, <span class="keywordtype">long</span> *start, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> *end); +00052 <span class="keywordtype">void</span> zreadtext(<span class="keywordtype">char</span> testmt, <span class="keywordtype">long</span> start, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> size, <span class="keywordtype">char</span> *buf); +00053 <span class="keyword">virtual</span> <span class="keywordtype">void</span> rawZFilter(<span class="keywordtype">char</span> *buf, <span class="keywordtype">long</span> size, <span class="keywordtype">char</span> direction = 0) {} +00054 <span class="keyword">static</span> <span class="keywordtype">char</span> createModule(<span class="keyword">const</span> <span class="keywordtype">char</span> *path, <span class="keywordtype">int</span> blockBound); +00055 }; +00056 +00057 SWORD_NAMESPACE_END +00058 <span class="preprocessor">#endif</span> +</pre></div><hr><address style="align: right;"><small>Generated on Thu Oct 31 12:11:28 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> +width=110 height=53></a>1.2.17 </small></address> </body> </html> |