135 lines
6.5 KiB
HTML
135 lines
6.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<title>exml Library</title>
|
|
<link rel="stylesheet" href="base.css">
|
|
</head>
|
|
<body>
|
|
<div class="navbar navbar-fixed-top">
|
|
<div class="container">
|
|
<h1>exml Library</h1>
|
|
<li>exml</li>
|
|
<ul>
|
|
<li><a href="exml__Attribute.html">Attribute</a></li>
|
|
<li><a href="exml__AttributeList.html">AttributeList</a></li>
|
|
<li><a href="exml__Comment.html">Comment</a></li>
|
|
<li><a href="exml__Declaration.html">Declaration</a></li>
|
|
<li><a href="exml__DeclarationXML.html">DeclarationXML</a></li>
|
|
<li><a href="exml__Document.html">Document</a></li>
|
|
<li><a href="exml__Element.html">Element</a></li>
|
|
<li><a href="exml__Node.html">Node</a></li>
|
|
<li><a href="exml__Text.html">Text</a></li>
|
|
<li><a href="exml__TextCDATA.html">TextCDATA</a></li>
|
|
<li><a href="exml__filePos.html">filePos</a></li>
|
|
</ul>
|
|
<li><a href="exml__nodeType.html">nodeType</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="container" id="content">
|
|
<h1>Class: exml::Text</h1>
|
|
<br/>
|
|
<h2>Synopsis:</h2>
|
|
<pre>
|
|
+ <a class="code-function" href="#Text">Text</a> (<span class="code-type">void</span>);<br>+ <a class="code-function" href="#Text">Text</a> (<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/string/" class="code-type">std::string</a> & <span class="code-argument">_data</span>);<br>+ ~<a class="code-function" href="#Text">Text</a> (<span class="code-type">void</span>);<br>+ <span class="code-type">int32_t</span> <a class="code-function" href="#countLines">countLines</a> (<span class="code-type">void</span>);<br>+ <span class="code-storage-keyword">enum</span> nodeType <a class="code-function" href="#getType">getType</a> (<span class="code-type">void</span>);<br>+ <span class="code-type">bool</span> <a class="code-function" href="#iParse">iParse</a> (<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/string/" class="code-type">std::string</a> & <span class="code-argument">_data</span>,<br/> <span class="code-type">int32_t</span> & <span class="code-argument">_pos</span>,<br/> <span class="code-type">bool</span> <span class="code-argument">_caseSensitive</span>,<br/> <a href="exml__filePos.html" class="code-type">exml::filePos</a> & <span class="code-argument">_filePos</span>,<br/> <a href="exml__Document.html" class="code-type">exml::Document</a> & <span class="code-argument">_doc</span>);<br>+ <span class="code-type">bool</span> <a class="code-function" href="#iGenerate">iGenerate</a> (<a href="http://www.cplusplus.com/reference/string/string/" class="code-type">std::string</a> & <span class="code-argument">_data</span>,<br/> <span class="code-type">int32_t</span> <span class="code-argument">_indent</span>);<br>+ <a href="exml__Text.html" class="code-type">exml::Text</a> * <a class="code-function" href="#toText">toText</a> (<span class="code-type">void</span>);<br>+ <span class="code-storage-keyword">const</span> <a href="exml__Text.html" class="code-type">exml::Text</a> * <a class="code-function" href="#toText">toText</a> (<span class="code-type">void</span>);<br></pre>
|
|
|
|
|
|
<h2>Object Hierarchy:</h2>
|
|
<pre>
|
|
<a href="">Node</a>
|
|
+--> <b>exml::Text</b>
|
|
</pre>
|
|
<br/>
|
|
<h2>Detail:<h2>
|
|
<h3>exml::<a id="Text">Text</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-function">Text</span>(<span class="code-type">void</span>);</pre>
|
|
<br/>
|
|
Constructor
|
|
<br/><br/>
|
|
|
|
<hr/>
|
|
<h3>exml::<a id="Text">Text</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-function">Text</span>(<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/string/" class="code-type">std::string</a> & <span class="code-argument">_data</span>);</pre>
|
|
<br/>
|
|
Constructor
|
|
<br/><ul>
|
|
<b>Parameter [input]:</b> <span class="code-argument">_data</span> String data of the current Text
|
|
<br/></ul>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3>exml::~<a id="Text">Text</a> ()</h3>
|
|
|
|
<pre>
|
|
~<span class="code-function">Text</span>(<span class="code-type">void</span>);</pre>
|
|
<br/>
|
|
Destructor
|
|
<br/><br/>
|
|
|
|
<hr/>
|
|
<h3><a id="countLines">countLines</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-type">int32_t</span> <span class="code-function">countLines</span>(<span class="code-type">void</span>);</pre>
|
|
<br/>
|
|
count the number of line in the current text
|
|
<br/><ul>
|
|
<b>Return:</b> The number of lines
|
|
<br/></ul>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="getType">getType</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-storage-keyword">enum</span> nodeType <span class="code-function">getType</span>(<span class="code-type">void</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="iParse">iParse</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-type">bool</span> <span class="code-function">iParse</span>(<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/string/" class="code-type">std::string</a> & <span class="code-argument">_data</span>,
|
|
<span class="code-type">int32_t</span> & <span class="code-argument">_pos</span>,
|
|
<span class="code-type">bool</span> <span class="code-argument">_caseSensitive</span>,
|
|
<a href="exml__filePos.html" class="code-type">exml::filePos</a> & <span class="code-argument">_filePos</span>,
|
|
<a href="exml__Document.html" class="code-type">exml::Document</a> & <span class="code-argument">_doc</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="iGenerate">iGenerate</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-type">bool</span> <span class="code-function">iGenerate</span>(<a href="http://www.cplusplus.com/reference/string/string/" class="code-type">std::string</a> & <span class="code-argument">_data</span>,
|
|
<span class="code-type">int32_t</span> <span class="code-argument">_indent</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="toText">toText</a> ()</h3>
|
|
|
|
<pre>
|
|
<a href="exml__Text.html" class="code-type">exml::Text</a> * <span class="code-function">toText</span>(<span class="code-type">void</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
<h3><a id="toText">toText</a> ()</h3>
|
|
|
|
<pre>
|
|
<span class="code-storage-keyword">const</span> <a href="exml__Text.html" class="code-type">exml::Text</a> * <span class="code-function">toText</span>(<span class="code-type">void</span>);</pre>
|
|
<br/>
|
|
<br/>
|
|
|
|
<hr/>
|
|
</div>
|
|
</body>
|
|
</html>
|