diff options
Diffstat (limited to 'doc/api-documentation/html/_greek2_greek_8h-source.html')
-rw-r--r-- | doc/api-documentation/html/_greek2_greek_8h-source.html | 237 |
1 files changed, 120 insertions, 117 deletions
diff --git a/doc/api-documentation/html/_greek2_greek_8h-source.html b/doc/api-documentation/html/_greek2_greek_8h-source.html index 2284aa1..5533536 100644 --- a/doc/api-documentation/html/_greek2_greek_8h-source.html +++ b/doc/api-documentation/html/_greek2_greek_8h-source.html @@ -3,126 +3,129 @@ <title>Greek2Greek.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>Greek2Greek.h</h1><div class="fragment"><pre>00001 <font class="comment">//*****************************************************************************</font> -00002 <font class="comment">// Author : William Dicks ***</font> -00003 <font class="comment">// Date Created: 10 February 1998 ***</font> -00004 <font class="comment">// Purpose : Interface for Greek to b-Greek conversion and vice versa ***</font> -00005 <font class="comment">// File Name : Greek2Greek.h ***</font> -00006 <font class="comment">// ***</font> -00007 <font class="comment">// Author info : ---------------------------------------------------------- ***</font> -00008 <font class="comment">// Address : 23 Tieroogpark ***</font> -00009 <font class="comment">// : Hoewe Str ***</font> -00010 <font class="comment">// : Elarduspark X3 ***</font> -00011 <font class="comment">// : 0181 ***</font> -00012 <font class="comment">// : South Africa ***</font> -00013 <font class="comment">// Home Tel: +27 (0)12 345 3166 ***</font> -00014 <font class="comment">// Cell No : +27 (0)82 577 4424 ***</font> -00015 <font class="comment">// e-mail : wd@isis.co.za ***</font> -00016 <font class="comment">// Church WWW : http://www.hatfield.co.za ***</font> -00017 <font class="comment">//*****************************************************************************</font> -00018 <font class="comment">/*</font> -00019 <font class="comment"> *</font> -00020 <font class="comment"> * $Id: _greek2_greek_8h-source.html,v 1.7 2002/06/20 20:23:07 mgruner Exp $</font> -00021 <font class="comment"> *</font> -00022 <font class="comment"> * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)</font> -00023 <font class="comment"> * CrossWire Bible Society</font> -00024 <font class="comment"> * P. O. Box 2528</font> -00025 <font class="comment"> * Tempe, AZ 85280-2528</font> -00026 <font class="comment"> *</font> -00027 <font class="comment"> * This program is free software; you can redistribute it and/or modify it</font> -00028 <font class="comment"> * under the terms of the GNU General Public License as published by the</font> -00029 <font class="comment"> * Free Software Foundation version 2.</font> -00030 <font class="comment"> *</font> -00031 <font class="comment"> * This program is distributed in the hope that it will be useful, but</font> -00032 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font> -00033 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font> -00034 <font class="comment"> * General Public License for more details.</font> -00035 <font class="comment"> *</font> -00036 <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>Greek2Greek.h</h1><div class="fragment"><pre>00001 <span class="comment">//*****************************************************************************</span> +00002 <span class="comment">// Author : William Dicks ***</span> +00003 <span class="comment">// Date Created: 10 February 1998 ***</span> +00004 <span class="comment">// Purpose : Interface for Greek to b-Greek conversion and vice versa ***</span> +00005 <span class="comment">// File Name : Greek2Greek.h ***</span> +00006 <span class="comment">// ***</span> +00007 <span class="comment">// Author info : ---------------------------------------------------------- ***</span> +00008 <span class="comment">// Address : 23 Tieroogpark ***</span> +00009 <span class="comment">// : Hoewe Str ***</span> +00010 <span class="comment">// : Elarduspark X3 ***</span> +00011 <span class="comment">// : 0181 ***</span> +00012 <span class="comment">// : South Africa ***</span> +00013 <span class="comment">// Home Tel: +27 (0)12 345 3166 ***</span> +00014 <span class="comment">// Cell No : +27 (0)82 577 4424 ***</span> +00015 <span class="comment">// e-mail : wd@isis.co.za ***</span> +00016 <span class="comment">// Church WWW : http://www.hatfield.co.za ***</span> +00017 <span class="comment">//*****************************************************************************</span> +00018 <span class="comment">/*</span> +00019 <span class="comment"> *</span> +00020 <span class="comment"> * $Id: _greek2_greek_8h-source.html,v 1.9 2002/10/31 11:30:14 joachim Exp $</span> +00021 <span class="comment"> *</span> +00022 <span class="comment"> * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)</span> +00023 <span class="comment"> * CrossWire Bible Society</span> +00024 <span class="comment"> * P. O. Box 2528</span> +00025 <span class="comment"> * Tempe, AZ 85280-2528</span> +00026 <span class="comment"> *</span> +00027 <span class="comment"> * This program is free software; you can redistribute it and/or modify it</span> +00028 <span class="comment"> * under the terms of the GNU General Public License as published by the</span> +00029 <span class="comment"> * Free Software Foundation version 2.</span> +00030 <span class="comment"> *</span> +00031 <span class="comment"> * This program is distributed in the hope that it will be useful, but</span> +00032 <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span> +00033 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> +00034 <span class="comment"> * General Public License for more details.</span> +00035 <span class="comment"> *</span> +00036 <span class="comment"> */</span> 00037 -00038 <font class="preprocessor">#ifndef __GREEK2GREEK</font> -00039 <font class="preprocessor"></font><font class="preprocessor">#define __GREEK2GREEK</font> -00040 <font class="preprocessor"></font> -00041 <font class="comment">//*****************************************************************************</font> -00042 <font class="comment">// Used to convert a string created by using the Greek font supplied with the</font> -00043 <font class="comment">// Sword Project to a string that conforms to the b-Greek discussion list </font> -00044 <font class="comment">// method of transliteration.</font> -00045 <font class="comment">//*****************************************************************************</font> -00046 <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> Greek2bGreek (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *sResult, <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *sGreekText, -00047 <font class="keywordtype">int</font> nMaxResultBuflen); -00048 -00049 <font class="comment">//*****************************************************************************</font> -00050 <font class="comment">// Used to convert a string created by using the b-Greek method of </font> -00051 <font class="comment">// transliteration to a string that can be converted to a Greek-font readable </font> -00052 <font class="comment">// string.</font> -00053 <font class="comment">//*****************************************************************************</font> -00054 <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> bGreek2Greek (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *sResult, -00055 <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *sGreekText, <font class="keywordtype">int</font> nMaxResultBuflen); -00056 -00057 <font class="comment">//*****************************************************************************</font> -00058 <font class="comment">// Parse a Greek font created string and return the b-Greek equivalent</font> -00059 <font class="comment">//*****************************************************************************</font> -00060 <font class="keywordtype">int</font> ParseGreek (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *sResult, -00061 <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *sGreekText, <font class="keywordtype">int</font> nMaxResultBuflen); -00062 -00063 <font class="comment">//*****************************************************************************</font> -00064 <font class="comment">// Parse a b-Greek string and return the Greek font equivalent</font> -00065 <font class="comment">//*****************************************************************************</font> -00066 <font class="keywordtype">int</font> ParsebGreek (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *sResult, -00067 <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *sGreekText, <font class="keywordtype">int</font> nMaxResultBuflen); -00068 -00069 <font class="comment">//*****************************************************************************</font> -00070 <font class="comment">// Convert a unsigned character to a GREEK font unsigned character</font> -00071 <font class="comment">//*****************************************************************************</font> -00072 <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> char2Font (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> letter, <font class="comment">// bGreek letter to convert to Font letter</font> -00073 <font class="keywordtype">bool</font> finalSigma, <font class="comment">// Is it a final SIGMA</font> -00074 <font class="keywordtype">bool</font> iota, <font class="comment">// TRUE = IOTA subscript; FALSE = No IOTA</font> -00075 <font class="keywordtype">bool</font> breathing, <font class="comment">// TRUE = add breathing; FALSE = no breathing</font> -00076 <font class="keywordtype">bool</font> rough); <font class="comment">// TRUE = rough breathing; False = smooth</font> -00077 -00078 <font class="comment">//*****************************************************************************</font> -00079 <font class="comment">// Convert a GREEK font unsigned character to a unsigned character</font> -00080 <font class="comment">//*****************************************************************************</font> -00081 <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> Font2char (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> letter, <font class="comment">// bGreek letter to convert to Font letter</font> -00082 <font class="keywordtype">bool</font> & iota, <font class="comment">// TRUE = IOTA subscript; FALSE = No IOTA</font> -00083 <font class="keywordtype">bool</font> & breathing, <font class="comment">// TRUE = add breathing; FALSE = no breathing</font> -00084 <font class="keywordtype">bool</font> & rough); <font class="comment">// TRUE = rough breathing; False = smooth</font> -00085 -00086 -00087 <font class="comment">//*****************************************************************************</font> -00088 <font class="comment">// Identify and return a bGreek letter from a special font char</font> -00089 <font class="comment">//*****************************************************************************</font> -00090 <font class="keywordtype">bool</font> getSpecialChar (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> Font, <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> &letter); -00091 -00092 <font class="comment">//*****************************************************************************</font> -00093 <font class="comment">// true if the font character is a special character; false it isn't</font> -00094 <font class="comment">//*****************************************************************************</font> -00095 <font class="keywordtype">bool</font> SpecialGreek (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> Font); -00096 -00097 <font class="comment">//*****************************************************************************</font> -00098 <font class="comment">// Return Greek font puntuation from bGreek punstuation</font> -00099 <font class="comment">//*****************************************************************************</font> -00100 <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> getGreekPunct (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> bGreek); -00101 -00102 <font class="comment">//*****************************************************************************</font> -00103 <font class="comment">// Return bGreek puntuation from Greek font punstuation</font> -00104 <font class="comment">//*****************************************************************************</font> -00105 <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> getbGreekPunct (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> Greek); -00106 -00107 <font class="comment">//*****************************************************************************</font> -00108 <font class="comment">// Is the character punctuation or a space: true it is, false it isn't</font> -00109 <font class="comment">//*****************************************************************************</font> -00110 <font class="keywordtype">bool</font> isPunctSpace (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> c); -00111 -00112 -00113 -00114 <font class="preprocessor">#endif // __GREEK2GREEK</font> -</pre></div><hr><address align="right"><small>Generated on Thu Jun 20 22:12:59 2002 for The Sword Project by +00038 <span class="preprocessor">#ifndef __GREEK2GREEK</span> +00039 <span class="preprocessor"></span><span class="preprocessor">#define __GREEK2GREEK</span> +00040 <span class="preprocessor"></span> +00041 <span class="preprocessor">#include <defs.h></span> +00042 SWORD_NAMESPACE_START +00043 +00044 <span class="comment">//*****************************************************************************</span> +00045 <span class="comment">// Used to convert a string created by using the Greek font supplied with the</span> +00046 <span class="comment">// Sword Project to a string that conforms to the b-Greek discussion list </span> +00047 <span class="comment">// method of transliteration.</span> +00048 <span class="comment">//*****************************************************************************</span> +00049 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> Greek2bGreek (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *sResult, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *sGreekText, +00050 <span class="keywordtype">int</span> nMaxResultBuflen); +00051 +00052 <span class="comment">//*****************************************************************************</span> +00053 <span class="comment">// Used to convert a string created by using the b-Greek method of </span> +00054 <span class="comment">// transliteration to a string that can be converted to a Greek-font readable </span> +00055 <span class="comment">// string.</span> +00056 <span class="comment">//*****************************************************************************</span> +00057 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bGreek2Greek (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *sResult, +00058 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *sGreekText, <span class="keywordtype">int</span> nMaxResultBuflen); +00059 +00060 <span class="comment">//*****************************************************************************</span> +00061 <span class="comment">// Parse a Greek font created string and return the b-Greek equivalent</span> +00062 <span class="comment">//*****************************************************************************</span> +00063 <span class="keywordtype">int</span> ParseGreek (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *sResult, +00064 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *sGreekText, <span class="keywordtype">int</span> nMaxResultBuflen); +00065 +00066 <span class="comment">//*****************************************************************************</span> +00067 <span class="comment">// Parse a b-Greek string and return the Greek font equivalent</span> +00068 <span class="comment">//*****************************************************************************</span> +00069 <span class="keywordtype">int</span> ParsebGreek (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *sResult, +00070 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *sGreekText, <span class="keywordtype">int</span> nMaxResultBuflen); +00071 +00072 <span class="comment">//*****************************************************************************</span> +00073 <span class="comment">// Convert a unsigned character to a GREEK font unsigned character</span> +00074 <span class="comment">//*****************************************************************************</span> +00075 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> char2Font (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> letter, <span class="comment">// bGreek letter to convert to Font letter</span> +00076 <span class="keywordtype">bool</span> finalSigma, <span class="comment">// Is it a final SIGMA</span> +00077 <span class="keywordtype">bool</span> iota, <span class="comment">// TRUE = IOTA subscript; FALSE = No IOTA</span> +00078 <span class="keywordtype">bool</span> breathing, <span class="comment">// TRUE = add breathing; FALSE = no breathing</span> +00079 <span class="keywordtype">bool</span> rough); <span class="comment">// TRUE = rough breathing; False = smooth</span> +00080 +00081 <span class="comment">//*****************************************************************************</span> +00082 <span class="comment">// Convert a GREEK font unsigned character to a unsigned character</span> +00083 <span class="comment">//*****************************************************************************</span> +00084 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> Font2char (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> letter, <span class="comment">// bGreek letter to convert to Font letter</span> +00085 <span class="keywordtype">bool</span> & iota, <span class="comment">// TRUE = IOTA subscript; FALSE = No IOTA</span> +00086 <span class="keywordtype">bool</span> & breathing, <span class="comment">// TRUE = add breathing; FALSE = no breathing</span> +00087 <span class="keywordtype">bool</span> & rough); <span class="comment">// TRUE = rough breathing; False = smooth</span> +00088 +00089 +00090 <span class="comment">//*****************************************************************************</span> +00091 <span class="comment">// Identify and return a bGreek letter from a special font char</span> +00092 <span class="comment">//*****************************************************************************</span> +00093 <span class="keywordtype">bool</span> getSpecialChar (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> Font, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> &letter); +00094 +00095 <span class="comment">//*****************************************************************************</span> +00096 <span class="comment">// true if the font character is a special character; false it isn't</span> +00097 <span class="comment">//*****************************************************************************</span> +00098 <span class="keywordtype">bool</span> SpecialGreek (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> Font); +00099 +00100 <span class="comment">//*****************************************************************************</span> +00101 <span class="comment">// Return Greek font puntuation from bGreek punstuation</span> +00102 <span class="comment">//*****************************************************************************</span> +00103 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> getGreekPunct (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bGreek); +00104 +00105 <span class="comment">//*****************************************************************************</span> +00106 <span class="comment">// Return bGreek puntuation from Greek font punstuation</span> +00107 <span class="comment">//*****************************************************************************</span> +00108 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> getbGreekPunct (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> Greek); +00109 +00110 <span class="comment">//*****************************************************************************</span> +00111 <span class="comment">// Is the character punctuation or a space: true it is, false it isn't</span> +00112 <span class="comment">//*****************************************************************************</span> +00113 <span class="keywordtype">bool</span> isPunctSpace (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> c); +00114 +00115 SWORD_NAMESPACE_END +00116 +00117 <span class="preprocessor">#endif // __GREEK2GREEK</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> |