diff options
Diffstat (limited to 'doc/api-documentation/html/gbfosis_8h-source.html')
-rw-r--r-- | doc/api-documentation/html/gbfosis_8h-source.html | 104 |
1 files changed, 69 insertions, 35 deletions
diff --git a/doc/api-documentation/html/gbfosis_8h-source.html b/doc/api-documentation/html/gbfosis_8h-source.html index 3705dd1..ea19e31 100644 --- a/doc/api-documentation/html/gbfosis_8h-source.html +++ b/doc/api-documentation/html/gbfosis_8h-source.html @@ -3,45 +3,79 @@ <title>gbfosis.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>gbfosis.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************************************</font> -00002 <font class="comment"> gbfosis.h - description</font> -00003 <font class="comment"> -------------------</font> -00004 <font class="comment"> begin : 2001-09-03</font> -00005 <font class="comment"> copyright : 2001 by CrossWire Bible Society</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>gbfosis.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************************************</span> +00002 <span class="comment"> gbfosis.h - description</span> +00003 <span class="comment"> -------------------</span> +00004 <span class="comment"> begin : 2001-09-03</span> +00005 <span class="comment"> copyright : 2001 by CrossWire Bible Society</span> +00006 <span class="comment"> ***************************************************************************/</span> 00007 -00008 <font class="comment">/***************************************************************************</font> -00009 <font class="comment"> * *</font> -00010 <font class="comment"> * This program is free software; you can redistribute it and/or modify *</font> -00011 <font class="comment"> * it under the terms of the GNU General Public License as published by *</font> -00012 <font class="comment"> * the Free Software Foundation; either version 2 of the License, or *</font> -00013 <font class="comment"> * (at your option) any later version. *</font> -00014 <font class="comment"> * *</font> -00015 <font class="comment"> ***************************************************************************/</font> +00008 <span class="comment">/***************************************************************************</span> +00009 <span class="comment"> * *</span> +00010 <span class="comment"> * This program is free software; you can redistribute it and/or modify *</span> +00011 <span class="comment"> * it under the terms of the GNU General Public License as published by *</span> +00012 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or *</span> +00013 <span class="comment"> * (at your option) any later version. *</span> +00014 <span class="comment"> * *</span> +00015 <span class="comment"> ***************************************************************************/</span> 00016 -00017 <font class="preprocessor">#ifndef GBFOSIS_H</font> -00018 <font class="preprocessor"></font><font class="preprocessor">#define GBFOSIS_H</font> -00019 <font class="preprocessor"></font> -00020 <font class="preprocessor">#include <defs.h></font> -00021 <font class="preprocessor">#include <swfilter.h></font> -00022 -<a name="l00025"></a><a class="code" href="class_g_b_f_o_s_i_s.html">00025</a> <font class="keyword">class </font>SWDLLEXPORT <a class="code" href="class_g_b_f_o_s_i_s.html">GBFOSIS</a> : <font class="keyword">public</font> SWFilter { -00026 <font class="keyword">protected</font>: -00027 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *convertToOSIS(<font class="keyword">const</font> <font class="keywordtype">char</font> *, <font class="keyword">const</font> <a class="code" href="class_s_w_key.html">SWKey</a> *key); -00028 <font class="keywordtype">void</font> pushString(<font class="keywordtype">char</font> **buf, <font class="keyword">const</font> <font class="keywordtype">char</font> *format, ...); -00029 <font class="keyword">public</font>: -00030 <a class="code" href="class_g_b_f_o_s_i_s.html">GBFOSIS</a>(); -00031 <font class="keyword">virtual</font> ~<a class="code" href="class_g_b_f_o_s_i_s.html">GBFOSIS</a>(); -00032 <font class="keywordtype">char</font> ProcessText(<font class="keywordtype">char</font> *text, <font class="keywordtype">int</font> maxlen, <font class="keyword">const</font> <a class="code" href="class_s_w_key.html">SWKey</a> *, <font class="keyword">const</font> <a class="code" href="class_s_w_module.html">SWModule</a> * = 0); -00033 }; -00034 -00035 <font class="preprocessor">#endif </font><font class="comment">/* THMLOSIS_H */</font> -</pre></div><hr><address align="right"><small>Generated on Thu Jun 20 22:12:59 2002 for The Sword Project by +00017 <span class="preprocessor">#ifndef GBFOSIS_H</span> +00018 <span class="preprocessor"></span><span class="preprocessor">#define GBFOSIS_H</span> +00019 <span class="preprocessor"></span> +00020 <span class="preprocessor">#include <defs.h></span> +00021 <span class="preprocessor">#include <swfilter.h></span> +00022 <span class="preprocessor">#include <string></span> +00023 <span class="preprocessor">#include <stack></span> +00024 +00025 <span class="keyword">using</span> std::string; +00026 <span class="keyword">using</span> std::stack; +00027 +00028 SWORD_NAMESPACE_START +00029 +00030 <span class="keyword">class </span>QuoteStack { +00031 <span class="keyword">private</span>: +00032 <span class="keyword">class </span>QuoteInstance { +00033 <span class="keyword">public</span>: +00034 <span class="keywordtype">char</span> startChar; +00035 <span class="keywordtype">char</span> level; +00036 string uniqueID; +00037 <span class="keywordtype">char</span> continueCount; +00038 QuoteInstance(<span class="keywordtype">char</span> startChar = <span class="charliteral">'\"'</span>, <span class="keywordtype">char</span> level = 1, string uniqueID = <span class="stringliteral">""</span>, <span class="keywordtype">char</span> continueCount = 0) { +00039 this->startChar = startChar; +00040 this->level = level; +00041 this->uniqueID = uniqueID; +00042 this->continueCount = continueCount; +00043 } +00044 <span class="keywordtype">void</span> pushStartStream(<span class="keywordtype">char</span> **to); +00045 }; +00046 +00047 stack<QuoteInstance> quotes; +00048 <span class="keyword">public</span>: +00049 QuoteStack(); +00050 <span class="keyword">virtual</span> ~QuoteStack(); +00051 <span class="keywordtype">void</span> handleQuote(<span class="keywordtype">char</span> *buf, <span class="keywordtype">char</span> *quotePos, <span class="keywordtype">char</span> **to); +00052 <span class="keywordtype">void</span> clear(); +00053 <span class="keywordtype">bool</span> empty() { <span class="keywordflow">return</span> quotes.empty(); } +00054 }; +00055 +<a name="l00058"></a><a class="code" href="classsword_1_1_g_b_f_o_s_i_s.html">00058</a> <span class="keyword">class </span>SWDLLEXPORT <a class="code" href="classsword_1_1_g_b_f_o_s_i_s.html">GBFOSIS</a> : <span class="keyword">public</span> SWFilter { +00059 <span class="keyword">protected</span>: +00060 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *convertToOSIS(<span class="keyword">const</span> <span class="keywordtype">char</span> *, <span class="keyword">const</span> <a class="code" href="classsword_1_1_s_w_key.html">SWKey</a> *key); +00061 <span class="keyword">public</span>: +00062 <a class="code" href="classsword_1_1_g_b_f_o_s_i_s.html">GBFOSIS</a>(); +00063 <span class="keyword">virtual</span> ~<a class="code" href="classsword_1_1_g_b_f_o_s_i_s.html">GBFOSIS</a>(); +00064 <span class="keywordtype">char</span> ProcessText(<span class="keywordtype">char</span> *text, <span class="keywordtype">int</span> maxlen, <span class="keyword">const</span> <a class="code" href="classsword_1_1_s_w_key.html">SWKey</a> *, <span class="keyword">const</span> <a class="code" href="classsword_1_1_s_w_module.html">SWModule</a> * = 0); +00065 <span class="keyword">static</span> <span class="keywordtype">void</span> pushString(<span class="keywordtype">char</span> **buf, <span class="keyword">const</span> <span class="keywordtype">char</span> *format, ...); +00066 }; +00067 +00068 SWORD_NAMESPACE_END +00069 <span class="preprocessor">#endif </span><span class="comment">/* THMLOSIS_H */</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> |