exml/exml__Attribute.html

182 lines
11 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::Attribute</h1>
<br/>
<h2>Synopsis:</h2>
<pre>
+ <a class="code-function" href="#Attribute">Attribute</a> (<span class="code-type">void</span>);<br>+ <a class="code-function" href="#Attribute">Attribute</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">_name</span>,<br/> <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">_value</span>);<br>+ <a class="code-function" href="#Attribute">Attribute</a> (<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/u32string/" class="code-type">std::u32string</a> & <span class="code-argument">_name</span>,<br/> <span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/u32string/" class="code-type">std::u32string</a> & <span class="code-argument">_value</span>);<br>+ ~<a class="code-function" href="#Attribute">Attribute</a> (<span class="code-type">void</span>);<br>+ <span class="code-type">void</span> <a class="code-function" href="#setName">setName</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">_name</span>);<br>+ <span class="code-type">void</span> <a class="code-function" href="#setName">setName</a> (<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/u32string/" class="code-type">std::u32string</a> & <span class="code-argument">_name</span>);<br>+ <span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/string/" class="code-type">std::string</a> & <a class="code-function" href="#getName">getName</a> (<span class="code-type">void</span>);<br>+ <a href="http://www.cplusplus.com/reference/string/u32string/" class="code-type">std::u32string</a> <a class="code-function" href="#getUName">getUName</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__Attribute.html" class="code-type">exml::Attribute</a> * <a class="code-function" href="#toAttribute">toAttribute</a> (<span class="code-type">void</span>);<br>+ <span class="code-storage-keyword">const</span> <a href="exml__Attribute.html" class="code-type">exml::Attribute</a> * <a class="code-function" href="#toAttribute">toAttribute</a> (<span class="code-type">void</span>);<br>+ <span class="code-type">void</span> <a class="code-function" href="#clear">clear</a> (<span class="code-type">void</span>);<br></pre>
<h2>Object Hierarchy:</h2>
<pre>
<a href="">Node</a>
+--> <b>exml::Attribute</b>
</pre>
<br/>
<h2>Detail:<h2>
<h3>exml::<a id="Attribute">Attribute</a> ()</h3>
<pre>
<span class="code-function">Attribute</span>(<span class="code-type">void</span>);</pre>
<br/>
Constructor
<br/><br/>
<hr/>
<h3>exml::<a id="Attribute">Attribute</a> ()</h3>
<pre>
<span class="code-function">Attribute</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">_name</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">_value</span>);</pre>
<br/>
Constructor
<br/><ul>
<b>Parameter [input]:</b> <span class="code-argument">_name</span> Name of the attribute.
<br/><b>Parameter [input]:</b> <span class="code-argument">_value</span> Value of the attribute.
<br/></ul>
<br/>
<hr/>
<h3>exml::<a id="Attribute">Attribute</a> ()</h3>
<pre>
<span class="code-function">Attribute</span>(<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/u32string/" class="code-type">std::u32string</a> & <span class="code-argument">_name</span>,
<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/u32string/" class="code-type">std::u32string</a> & <span class="code-argument">_value</span>);</pre>
<br/>
<br/>
<hr/>
<h3>exml::~<a id="Attribute">Attribute</a> ()</h3>
<pre>
~<span class="code-function">Attribute</span>(<span class="code-type">void</span>);</pre>
<br/>
Destructor
<br/><br/>
<hr/>
<h3><a id="setName">setName</a> ()</h3>
<pre>
<span class="code-type">void</span> <span class="code-function">setName</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">_name</span>);</pre>
<br/>
set the name of the attribute
<br/><ul>
<b>Parameter [input]:</b> <span class="code-argument">_name</span> New name of the attribute
<br/></ul>
<br/>
<hr/>
<h3><a id="setName">setName</a> ()</h3>
<pre>
<span class="code-type">void</span> <span class="code-function">setName</span>(<span class="code-storage-keyword">const</span> <a href="http://www.cplusplus.com/reference/string/u32string/" class="code-type">std::u32string</a> & <span class="code-argument">_name</span>);</pre>
<br/>
<br/>
<hr/>
<h3><a id="getName">getName</a> ()</h3>
<pre>
<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-function">getName</span>(<span class="code-type">void</span>);</pre>
<br/>
get the current name of the Attribute
<br/><ul>
<b>Return:</b> String of the attribute
<br/></ul>
<br/>
<hr/>
<h3><a id="getUName">getUName</a> ()</h3>
<pre>
<a href="http://www.cplusplus.com/reference/string/u32string/" class="code-type">std::u32string</a> <span class="code-function">getUName</span>(<span class="code-type">void</span>);</pre>
<br/>
<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="toAttribute">toAttribute</a> ()</h3>
<pre>
<a href="exml__Attribute.html" class="code-type">exml::Attribute</a> * <span class="code-function">toAttribute</span>(<span class="code-type">void</span>);</pre>
<br/>
<br/>
<hr/>
<h3><a id="toAttribute">toAttribute</a> ()</h3>
<pre>
<span class="code-storage-keyword">const</span> <a href="exml__Attribute.html" class="code-type">exml::Attribute</a> * <span class="code-function">toAttribute</span>(<span class="code-type">void</span>);</pre>
<br/>
<br/>
<hr/>
<h3><a id="clear">clear</a> ()</h3>
<pre>
<span class="code-type">void</span> <span class="code-function">clear</span>(<span class="code-type">void</span>);</pre>
<br/>
<br/>
<hr/>
</div>
</body>
</html>