/usr/share/doc/libwreport-doc/apidocs/structwreport_1_1str_1_1Split.html is in libwreport-doc 3.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>libwreport: wreport::str::Split Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libwreport
 <span id="projectnumber">3.6</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacewreport.html">wreport</a></li><li class="navelem"><b>str</b></li><li class="navelem"><a class="el" href="structwreport_1_1str_1_1Split.html">Split</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">wreport::str::Split Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="structwreport_1_1str_1_1Split.html" title="Split a string where a given substring is found. ">Split</a> a string where a given substring is found.
<a href="structwreport_1_1str_1_1Split.html#details">More...</a></p>
<p><code>#include <<a class="el" href="string_8h_source.html">string.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classwreport_1_1str_1_1Split_1_1const__iterator.html">const_iterator</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a14eed8febcb4aae008dfd0c01b9d6e9a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14eed8febcb4aae008dfd0c01b9d6e9a"></a>
 </td><td class="memItemRight" valign="bottom"><b>Split</b> (const std::string &<a class="el" href="structwreport_1_1str_1_1Split.html#afc63c6598f669a1e81a26aaef09fcd76">str</a>, const std::string &<a class="el" href="structwreport_1_1str_1_1Split.html#ab6c1de920c3f01f308e24dadee266b6c">sep</a>, bool <a class="el" href="structwreport_1_1str_1_1Split.html#a28ec66653365ebacbca59106e2759541">skip_empty</a>=false)</td></tr>
<tr class="separator:a14eed8febcb4aae008dfd0c01b9d6e9a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5e2bfea4b82281e7422298dec757be7d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e2bfea4b82281e7422298dec757be7d"></a>
<a class="el" href="classwreport_1_1str_1_1Split_1_1const__iterator.html">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1str_1_1Split.html#a5e2bfea4b82281e7422298dec757be7d">begin</a> ()</td></tr>
<tr class="memdesc:a5e2bfea4b82281e7422298dec757be7d"><td class="mdescLeft"> </td><td class="mdescRight">Return the begin iterator to split a string on instances of sep. <br /></td></tr>
<tr class="separator:a5e2bfea4b82281e7422298dec757be7d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a576e41d9f7507b1b649c24f888bdbe9c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a576e41d9f7507b1b649c24f888bdbe9c"></a>
<a class="el" href="classwreport_1_1str_1_1Split_1_1const__iterator.html">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1str_1_1Split.html#a576e41d9f7507b1b649c24f888bdbe9c">end</a> ()</td></tr>
<tr class="memdesc:a576e41d9f7507b1b649c24f888bdbe9c"><td class="mdescLeft"> </td><td class="mdescRight">Return the end iterator to string split. <br /></td></tr>
<tr class="separator:a576e41d9f7507b1b649c24f888bdbe9c"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:afc63c6598f669a1e81a26aaef09fcd76"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afc63c6598f669a1e81a26aaef09fcd76"></a>
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1str_1_1Split.html#afc63c6598f669a1e81a26aaef09fcd76">str</a></td></tr>
<tr class="memdesc:afc63c6598f669a1e81a26aaef09fcd76"><td class="mdescLeft"> </td><td class="mdescRight">String to split. <br /></td></tr>
<tr class="separator:afc63c6598f669a1e81a26aaef09fcd76"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab6c1de920c3f01f308e24dadee266b6c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6c1de920c3f01f308e24dadee266b6c"></a>
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1str_1_1Split.html#ab6c1de920c3f01f308e24dadee266b6c">sep</a></td></tr>
<tr class="memdesc:ab6c1de920c3f01f308e24dadee266b6c"><td class="mdescLeft"> </td><td class="mdescRight">Separator. <br /></td></tr>
<tr class="separator:ab6c1de920c3f01f308e24dadee266b6c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a28ec66653365ebacbca59106e2759541"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28ec66653365ebacbca59106e2759541"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1str_1_1Split.html#a28ec66653365ebacbca59106e2759541">skip_empty</a></td></tr>
<tr class="memdesc:a28ec66653365ebacbca59106e2759541"><td class="mdescLeft"> </td><td class="mdescRight">If true, skip empty tokens, effectively grouping consecutive separators as if they were a single one. <br /></td></tr>
<tr class="separator:a28ec66653365ebacbca59106e2759541"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="structwreport_1_1str_1_1Split.html" title="Split a string where a given substring is found. ">Split</a> a string where a given substring is found. </p>
<p>This does a similar work to the split functions of perl, python and ruby.</p>
<p>Example code: </p><div class="fragment"><div class="line">str::Split splitter(my_string, <span class="stringliteral">"/"</span>);</div><div class="line">vector<string> split;</div><div class="line">std::copy(splitter.begin(), splitter.end(), back_inserter(split));</div></div><!-- fragment --> </div><hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="string_8h_source.html">string.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Aug 18 2016 13:32:18 for libwreport by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
|