1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
3 |
<title>HyperEstraierWrapper: estraier Namespace Reference</title> |
4 |
<link href="doxygen.css" rel="stylesheet" type="text/css"> |
5 |
</head><body> |
6 |
<!-- Generated by Doxygen 1.4.4 --> |
7 |
<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> |
8 |
<h1>estraier Namespace Reference</h1> |
9 |
<p> |
10 |
<table border="0" cellpadding="0" cellspacing="0"> |
11 |
<tr><td></td></tr> |
12 |
<tr><td colspan="2"><br><h2>Classes</h2></td></tr> |
13 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classestraier_1_1IOError.html">IOError</a></td></tr> |
14 |
|
15 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classestraier_1_1Condition.html">Condition</a></td></tr> |
16 |
|
17 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classestraier_1_1Document.html">Document</a></td></tr> |
18 |
|
19 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classestraier_1_1Database.html">Database</a></td></tr> |
20 |
|
21 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
22 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">static std::vector< std::string > * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceestraier.html#a0">break_text</a> (const char *text, bool norm, bool tail)</td></tr> |
23 |
|
24 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">static std::vector< std::string > * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceestraier.html#a1">break_text_perfng</a> (const char *text, bool norm, bool tail)</td></tr> |
25 |
|
26 |
</table> |
27 |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
28 |
HyperEstraierWrapper.cpp - C++ wrapper for Hyper Estraier |
29 |
<p> |
30 |
<hr><h2>Function Documentation</h2> |
31 |
<a class="anchor" name="a0"></a><!-- doxytag: member="estraier::break_text" ref="a0" args="(const char *text, bool norm, bool tail)" --><p> |
32 |
<table class="mdTable" cellpadding="2" cellspacing="0"> |
33 |
<tr> |
34 |
<td class="mdRow"> |
35 |
<table cellpadding="0" cellspacing="0" border="0"> |
36 |
<tr> |
37 |
<td class="md" nowrap valign="top">static std::vector<std::string>* estraier::break_text </td> |
38 |
<td class="md" valign="top">( </td> |
39 |
<td class="md" nowrap valign="top">const char * </td> |
40 |
<td class="mdname" nowrap> <em>text</em>, </td> |
41 |
</tr> |
42 |
<tr> |
43 |
<td class="md" nowrap align="right"></td> |
44 |
<td class="md"></td> |
45 |
<td class="md" nowrap>bool </td> |
46 |
<td class="mdname" nowrap> <em>norm</em>, </td> |
47 |
</tr> |
48 |
<tr> |
49 |
<td class="md" nowrap align="right"></td> |
50 |
<td class="md"></td> |
51 |
<td class="md" nowrap>bool </td> |
52 |
<td class="mdname" nowrap> <em>tail</em></td> |
53 |
</tr> |
54 |
<tr> |
55 |
<td class="md"></td> |
56 |
<td class="md">) </td> |
57 |
<td class="md" colspan="2"><code> [static]</code></td> |
58 |
</tr> |
59 |
</table> |
60 |
</td> |
61 |
</tr> |
62 |
</table> |
63 |
<table cellspacing="5" cellpadding="0" border="0"> |
64 |
<tr> |
65 |
<td> |
66 |
|
67 |
</td> |
68 |
<td> |
69 |
|
70 |
<p> |
71 |
|
72 |
<p> |
73 |
Definition at line <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00428">428</a> of file <a class="el" href="HyperEstraierWrapper_8cpp-source.html">HyperEstraierWrapper.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00428"></a>00428 { |
74 |
<a name="l00429"></a>00429 std::vector<std::string> * vs = <span class="keyword">new</span> std::vector<std::string>; |
75 |
<a name="l00430"></a>00430 CBLIST *list; |
76 |
<a name="l00431"></a>00431 list = cblistopen(); |
77 |
<a name="l00432"></a>00432 est_break_text(text, list, norm, tail); |
78 |
<a name="l00433"></a>00433 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=0; i < cblistnum(list); i++) { |
79 |
<a name="l00434"></a>00434 vs->push_back(cblistval(list, i, NULL)); |
80 |
<a name="l00435"></a>00435 } |
81 |
<a name="l00436"></a>00436 cblistclose(list); |
82 |
<a name="l00437"></a>00437 <span class="keywordflow">return</span> vs; |
83 |
<a name="l00438"></a>00438 } |
84 |
</pre></div> |
85 |
<p> |
86 |
</td> |
87 |
</tr> |
88 |
</table> |
89 |
<a class="anchor" name="a1"></a><!-- doxytag: member="estraier::break_text_perfng" ref="a1" args="(const char *text, bool norm, bool tail)" --><p> |
90 |
<table class="mdTable" cellpadding="2" cellspacing="0"> |
91 |
<tr> |
92 |
<td class="mdRow"> |
93 |
<table cellpadding="0" cellspacing="0" border="0"> |
94 |
<tr> |
95 |
<td class="md" nowrap valign="top">static std::vector<std::string>* estraier::break_text_perfng </td> |
96 |
<td class="md" valign="top">( </td> |
97 |
<td class="md" nowrap valign="top">const char * </td> |
98 |
<td class="mdname" nowrap> <em>text</em>, </td> |
99 |
</tr> |
100 |
<tr> |
101 |
<td class="md" nowrap align="right"></td> |
102 |
<td class="md"></td> |
103 |
<td class="md" nowrap>bool </td> |
104 |
<td class="mdname" nowrap> <em>norm</em>, </td> |
105 |
</tr> |
106 |
<tr> |
107 |
<td class="md" nowrap align="right"></td> |
108 |
<td class="md"></td> |
109 |
<td class="md" nowrap>bool </td> |
110 |
<td class="mdname" nowrap> <em>tail</em></td> |
111 |
</tr> |
112 |
<tr> |
113 |
<td class="md"></td> |
114 |
<td class="md">) </td> |
115 |
<td class="md" colspan="2"><code> [static]</code></td> |
116 |
</tr> |
117 |
</table> |
118 |
</td> |
119 |
</tr> |
120 |
</table> |
121 |
<table cellspacing="5" cellpadding="0" border="0"> |
122 |
<tr> |
123 |
<td> |
124 |
|
125 |
</td> |
126 |
<td> |
127 |
|
128 |
<p> |
129 |
|
130 |
<p> |
131 |
Definition at line <a class="el" href="HyperEstraierWrapper_8cpp-source.html#l00440">440</a> of file <a class="el" href="HyperEstraierWrapper_8cpp-source.html">HyperEstraierWrapper.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00440"></a>00440 { |
132 |
<a name="l00441"></a>00441 std::vector<std::string> * vs = <span class="keyword">new</span> std::vector<std::string>; |
133 |
<a name="l00442"></a>00442 CBLIST *list; |
134 |
<a name="l00443"></a>00443 list = cblistopen(); |
135 |
<a name="l00444"></a>00444 est_break_text_perfng(text, list, norm, tail); |
136 |
<a name="l00445"></a>00445 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=0; i < cblistnum(list); i++) { |
137 |
<a name="l00446"></a>00446 vs->push_back(cblistval(list, i, NULL)); |
138 |
<a name="l00447"></a>00447 } |
139 |
<a name="l00448"></a>00448 cblistclose(list); |
140 |
<a name="l00449"></a>00449 <span class="keywordflow">return</span> vs; |
141 |
<a name="l00450"></a>00450 } |
142 |
</pre></div> |
143 |
<p> |
144 |
</td> |
145 |
</tr> |
146 |
</table> |
147 |
<hr size="1"><address style="align: right;"><small>Generated on Thu Sep 1 08:07:54 2005 for HyperEstraierWrapper by |
148 |
<a href="http://www.doxygen.org/index.html"> |
149 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> |
150 |
</body> |
151 |
</html> |